W3cubDocs

/Drupal 8

constant 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

Events
Overview of event dispatch and subscribing

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';

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Config!ConfigEvents.php/constant/ConfigEvents::IMPORT/8.1.x