ConfigEvents::IMPORT

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Config/ConfigEvents.php \Drupal\Core\Config\ConfigEvents::IMPORT
  2. 10 core/lib/Drupal/Core/Config/ConfigEvents.php \Drupal\Core\Config\ConfigEvents::IMPORT
  3. 11.x core/lib/Drupal/Core/Config/ConfigEvents.php \Drupal\Core\Config\ConfigEvents::IMPORT

Name of the event fired when importing configuration to target storage.

This event allows modules to perform additional actions when configuration is imported. The event listener method receives a \Drupal\Core\Config\ConfigImporterEvent instance.

See also

\Drupal\Core\Config\ConfigImporterEvent

\Drupal\Core\Config\ConfigImporter::import().

\Drupal\Core\EventSubscriber\ConfigSnapshotSubscriber::onConfigImporterImport().

Related topics

File

core/lib/Drupal/Core/Config/ConfigEvents.php, line 109

Class

ConfigEvents
Defines events for the configuration system.

Namespace

Drupal\Core\Config

Code

const IMPORT = 'config.importer.import';

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.