SiteConfigurationLoadedEvent
FinalYes
Event after a site configuration has been read from a yaml file before it is cached - allows dynamic modification of the site's configuration.
Table of Contents
Properties
- $configuration : array<string|int, mixed>
- $siteIdentifier : string
Methods
- __construct() : mixed
- getConfiguration() : array<string|int, mixed>
- getSiteIdentifier() : string
- setConfiguration() : void
Properties
$configuration
protected
array<string|int, mixed>
$configuration
$siteIdentifier
protected
string
$siteIdentifier
Methods
__construct()
public
__construct(string $siteIdentifier, array<string|int, mixed> $configuration) : mixed
Parameters
- $siteIdentifier : string
- $configuration : array<string|int, mixed>
getConfiguration()
public
getConfiguration() : array<string|int, mixed>
Return values
array<string|int, mixed>getSiteIdentifier()
public
getSiteIdentifier() : string
Return values
stringsetConfiguration()
public
setConfiguration(array<string|int, mixed> $configuration) : void
Parameters
- $configuration : array<string|int, mixed>
-
overwrite the configuration array of the site