Defines a configuration installer.
A config installer imports the changes into the configuration system during module installs.
The ConfigInstaller has a identifier which is used to construct event names. The events fired during an import are:
Expanded class hierarchy of ConfigInstaller
\Drupal\Core\EventSubscriber\ConfigImportSubscriber
\Drupal\Core\Config\ConfigImporter
class ConfigInstaller extends ConfigImporter {
/**
* The name used to identify events and the lock.
*/
const ID = 'config.installer';
}
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ConfigImporter:: |
protected | property | The configuration factory. | |
ConfigImporter:: |
protected | property | The configuration context. | |
ConfigImporter:: |
protected | property | The plugin manager for entities. | |
ConfigImporter:: |
protected | property | The event dispatcher used to notify subscribers. | |
ConfigImporter:: |
protected | property | The used lock backend instance. | |
ConfigImporter:: |
protected | property | List of changes processed by the import(). | |
ConfigImporter:: |
protected | property | The storage comparer used to discover configuration changes. | |
ConfigImporter:: |
protected | property | Indicates changes to import have been validated. | |
ConfigImporter:: |
public | function | Determines if a import is already running. | |
ConfigImporter:: |
public | function | Returns the identifier for events and locks. | |
ConfigImporter:: |
public | function | Gets list of processed changes. | |
ConfigImporter:: |
public | function | Gets the configuration storage comparer. | |
ConfigImporter:: |
public | function | Gets a list of unprocessed changes for a given operation. | |
ConfigImporter:: |
public | function | Checks if there are any unprocessed changes. | |
ConfigImporter:: |
public | function | Imports the changelist to the target storage. | |
ConfigImporter:: |
protected | function | Writes an array of config changes from the source to the target storage. | |
ConfigImporter:: |
protected | function | Invokes import* methods on configuration entity storage controllers. | |
ConfigImporter:: |
protected | function | Dispatches a config importer event. | |
ConfigImporter:: |
public | function | Resets the storage comparer and processed list. | |
ConfigImporter:: |
protected | function | Sets a change as processed. | |
ConfigImporter:: |
public | function | Dispatches validate event for a ConfigImporter object. | |
ConfigImporter:: |
public | function | Constructs a configuration import object. | |
ConfigInstaller:: |
constant |
The name used to identify events and the lock. Overrides ConfigImporter:: |