Settings::setExtConf() 

\nn\t3::Settings()->setExtConf($extName = '', $key = '', $value = ''); 

Extension-Konfiguration schreiben. Schreibt eine Extension-Konfiguration in die LocalConfiguration.php. Die Werte können bei entsprechender Konfiguration in der ext_conf_template.txt auch über den Extension-Manager / die Extension Konfiguration im Backend bearbeitet werden.

\nn\t3::Settings()->setExtConf( 'extname', 'key', 'value' );
Copied!

| @return mixed

Source Code 

public function setExtConf( $extName = '', $key = '', $value = '' )
{
	$coreConfigurationManager = GeneralUtility::makeInstance(\TYPO3\CMS\Core\Configuration\ConfigurationManager::class);
	$result = $coreConfigurationManager->setLocalConfigurationValueByPath("EXTENSIONS/{$extName}/{$key}", $value);
	return $result;
}
Copied!