function ConfigImportValidateEventSubscriberBase::onConfigImporterValidate

Same name in other branches
  1. 9 core/lib/Drupal/Core/Config/ConfigImportValidateEventSubscriberBase.php \Drupal\Core\Config\ConfigImportValidateEventSubscriberBase::onConfigImporterValidate()
  2. 8.9.x core/lib/Drupal/Core/Config/ConfigImportValidateEventSubscriberBase.php \Drupal\Core\Config\ConfigImportValidateEventSubscriberBase::onConfigImporterValidate()
  3. 11.x core/lib/Drupal/Core/Config/ConfigImportValidateEventSubscriberBase.php \Drupal\Core\Config\ConfigImportValidateEventSubscriberBase::onConfigImporterValidate()

Checks that the configuration synchronization is valid.

Parameters

ConfigImporterEvent $event: The config import event.

4 methods override ConfigImportValidateEventSubscriberBase::onConfigImporterValidate()
BundleConfigImportValidate::onConfigImporterValidate in core/lib/Drupal/Core/Entity/Event/BundleConfigImportValidate.php
Ensures bundles that will be deleted are not in use.
ConfigImportSubscriber::onConfigImporterValidate in core/modules/content_moderation/src/EventSubscriber/ConfigImportSubscriber.php
Checks that the configuration synchronization is valid.
ConfigImportSubscriber::onConfigImporterValidate in core/lib/Drupal/Core/EventSubscriber/ConfigImportSubscriber.php
Validates the configuration to be imported.
ConfigSubscriber::onConfigImporterValidate in core/modules/config/src/ConfigSubscriber.php
Checks that the Configuration module is not being uninstalled.

File

core/lib/Drupal/Core/Config/ConfigImportValidateEventSubscriberBase.php, line 20

Class

ConfigImportValidateEventSubscriberBase
Defines a base event listener implementation for config sync validation.

Namespace

Drupal\Core\Config

Code

public abstract function onConfigImporterValidate(ConfigImporterEvent $event);

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