getServiceLocator()->get(\common_ext_ExtensionsManager::SERVICE_ID)->getExtensionById('taoClientDiagnostic'); $config = $extension->getConfig('clientDiag'); $config['customInput'][$key] = $mapping; $extension->setConfig('clientDiag', $config); return new Report(Report::TYPE_SUCCESS, "Mapping '${key}':'${mapping}' successfully registered."); } }