SiteConfigurationLoadedEvent¶
New in version 12.0
The PSR-14 event
\TYPO3\
allows the modification of the site configuration array
before loading the configuration.
Note
If you need to change the configuration before it is saved to disk, use SiteConfigurationBeforeWriteEvent.
Example¶
Note
Currently, we do not have an example for this event. If you can provide a useful one, please open an issue with your code snippets or a pull request.
API¶
- class SiteConfigurationLoadedEvent ¶
-
- Fully qualified name
-
\TYPO3\
CMS\ Core\ Configuration\ Event\ Site Configuration Loaded Event
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 ( ) ¶
-
- Returns
-
string
- getConfiguration ( ) ¶
-
- Returns
-
array
- setConfiguration ( array $configuration) ¶
-
- param $configuration
-
overwrite the configuration array of the site