SiteConfigurationBeforeWriteEvent
FinalYes
Event fired before a site configuration is written to a yaml file allows dynamic modification of the site's configuration before writing.
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