You are here

abstract public function ConfigImportValidateEventSubscriberBase::onConfigImporterValidate in Drupal 9

Same name and namespace in other branches
  1. 8 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/lib/Drupal/Core/EventSubscriber/ConfigImportSubscriber.php
Validates the configuration to be imported.
ConfigImportSubscriber::onConfigImporterValidate in core/modules/content_moderation/src/EventSubscriber/ConfigImportSubscriber.php
Checks that the configuration synchronization is valid.
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);