SiteConfigurationBeforeWriteEvent

New in version 12.0

The PSR-14 event \TYPO3\CMS\Core\Configuration\Event\SiteConfigurationBeforeWriteEvent allows the modification of the site configuration array before writing the configuration to disk.

Example

API

class \TYPO3\CMS\Core\Configuration\Event\ SiteConfigurationBeforeWriteEvent

Event fired before a site configuration is written to a yaml file allows dynamic modification of the site's configuration before writing.

getSiteIdentifier ( )
returntype

string

getConfiguration ( )
returntype

array

setConfiguration ( array $configuration)
param array $configuration

overwrite the configuration array of the site