abstract public function ConfigImportValidateEventSubscriberBase::onConfigImporterValidate in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Config/ConfigImportValidateEventSubscriberBase.php \Drupal\Core\Config\ConfigImportValidateEventSubscriberBase::onConfigImporterValidate()
- 10 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\ConfigCode
public abstract function onConfigImporterValidate(ConfigImporterEvent $event);