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
List of site identifiers that were imported

Methods

__construct()

public __construct(string $packageKey, array $siteIdentifierList) : mixed
Parameters
$packageKey : string
$siteIdentifierList : array

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

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

Return values
array
On this page

Search results