AfterExtensionSiteFilesHaveBeenImportedEvent

FinalYes

Event that is triggered after a package has imported its site configurations (from Initialisation/Site)

Table of Contents

Methods

__construct()  : mixed
getPackageKey()  : string
Returns the extension that imported the site configuration
getSiteIdentifierList()  : array<string|int, mixed>
List of site identifiers that were imported

Methods

__construct()

public __construct(string $packageKey, array<string|int, mixed> $siteIdentifierList) : mixed
Parameters
$packageKey : string
$siteIdentifierList : array<string|int, mixed>

getPackageKey()

Returns the extension that imported the site configuration

public getPackageKey() : string
Return values
string

getSiteIdentifierList()

List of site identifiers that were imported

public getSiteIdentifierList() : array<string|int, mixed>

use as foreach ($siteIdentifierList as $siteIdentifier) { $configuration = $siteConfiguration->load($siteIdentifier); // do things }

Return values
array<string|int, mixed>

        
On this page

Search results