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