protected function ConfigImporter::notify

Dispatches a config importer event.

Parameters

string $event_name: The name of the config importer event to dispatch.

2 calls to ConfigImporter::notify()
ConfigImporter::import in drupal/core/lib/Drupal/Core/Config/ConfigImporter.php
Imports the changelist to the target storage.
ConfigImporter::validate in drupal/core/lib/Drupal/Core/Config/ConfigImporter.php
Dispatches validate event for a ConfigImporter object.

File

drupal/core/lib/Drupal/Core/Config/ConfigImporter.php, line 314
Contains \Drupal\Core\Config\ConfigImporter.

Class

ConfigImporter
Defines a configuration importer.

Namespace

Drupal\Core\Config

Code

protected function notify($event_name) {
  $this->eventDispatcher
    ->dispatch(static::ID . '.' . $event_name, new ConfigImporterEvent($this));
}