class ConfigImporterEvent extends Event (View source)

Properties

protected ConfigImporter $configImporter

Configuration import object.

Methods

__construct(ConfigImporter $config_importer)

Constructs ConfigImporterEvent.

getConfigImporter()

Gets the config import object.

array
getChangelist(string $op = NULL, string $collection = StorageInterface::DEFAULT_COLLECTION)

Gets the list of changes that will be imported.

Details

__construct(ConfigImporter $config_importer)

Constructs ConfigImporterEvent.

Parameters

ConfigImporter $config_importer

A config import object to notify listeners about.

ConfigImporter getConfigImporter()

Gets the config import object.

Return Value

ConfigImporter

The ConfigImporter object.

array getChangelist(string $op = NULL, string $collection = StorageInterface::DEFAULT_COLLECTION)

Gets the list of changes that will be imported.

Parameters

string $op

(optional) A change operation. Either delete, create or update. If supplied the returned list will be limited to this operation.

string $collection

(optional) The collection to get the changelist for. Defaults to the default collection.

Return Value

array

An array of config changes that are yet to be imported.

See also

StorageComparerInterface::getChangelist