1. 8.5.x core/lib/Drupal/Core/Config/ConfigEvents.php ConfigEvents::IMPORT_VALIDATE
  2. 8.0.x core/lib/Drupal/Core/Config/ConfigEvents.php ConfigEvents::IMPORT_VALIDATE
  3. 8.1.x core/lib/Drupal/Core/Config/ConfigEvents.php ConfigEvents::IMPORT_VALIDATE
  4. 8.2.x core/lib/Drupal/Core/Config/ConfigEvents.php ConfigEvents::IMPORT_VALIDATE
  5. 8.3.x core/lib/Drupal/Core/Config/ConfigEvents.php ConfigEvents::IMPORT_VALIDATE
  6. 8.4.x core/lib/Drupal/Core/Config/ConfigEvents.php ConfigEvents::IMPORT_VALIDATE
  7. 8.6.x core/lib/Drupal/Core/Config/ConfigEvents.php 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';