constant ConfigEvents::IMPORT_VALIDATE

Name of the event fired when validating imported configuration.

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

See also

\Drupal\Core\Config\ConfigImporterEvent

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

\Drupal\Core\EventSubscriber\ConfigImportSubscriber::onConfigImporterValidate().

Related topics

Events
Overview of event dispatch and subscribing

File

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

Class

ConfigEvents
Defines events for the configuration system.

Namespace

Drupal\Core\Config

Code

const IMPORT_VALIDATE = 'config.importer.validate';

© 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_VALIDATE/8.1.x