ConfigEvents::IMPORT_VALIDATE

Same name in other branches
  1. 9 core/lib/Drupal/Core/Config/ConfigEvents.php \Drupal\Core\Config\ConfigEvents::IMPORT_VALIDATE
  2. 8.9.x core/lib/Drupal/Core/Config/ConfigEvents.php \Drupal\Core\Config\ConfigEvents::IMPORT_VALIDATE
  3. 10 core/lib/Drupal/Core/Config/ConfigEvents.php \Drupal\Core\Config\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

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

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