SiteConfigurationLoadedEvent

New in version 12.0

The PSR-14 event \TYPO3\CMS\Core\Configuration\Event\SiteConfigurationLoadedEvent allows the modification of the site configuration array before loading the configuration.

Example

API

class \TYPO3\CMS\Core\Configuration\Event\ SiteConfigurationLoadedEvent

Event after a site configuration has been read from a yaml file before it is cached - allows dynamic modification of the site's configuration.

getSiteIdentifier ( )
returntype

string

getConfiguration ( )
returntype

array

setConfiguration ( array $configuration)
param array $configuration

overwrite the configuration array of the site