function ConfigImportValidateEventSubscriberBase::getSubscribedEvents

Same name in other branches
  1. 9 core/lib/Drupal/Core/Config/ConfigImportValidateEventSubscriberBase.php \Drupal\Core\Config\ConfigImportValidateEventSubscriberBase::getSubscribedEvents()
  2. 10 core/lib/Drupal/Core/Config/ConfigImportValidateEventSubscriberBase.php \Drupal\Core\Config\ConfigImportValidateEventSubscriberBase::getSubscribedEvents()
  3. 11.x core/lib/Drupal/Core/Config/ConfigImportValidateEventSubscriberBase.php \Drupal\Core\Config\ConfigImportValidateEventSubscriberBase::getSubscribedEvents()
1 method overrides ConfigImportValidateEventSubscriberBase::getSubscribedEvents()
ConfigSubscriber::getSubscribedEvents in core/modules/config/src/ConfigSubscriber.php

File

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

Class

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

Namespace

Drupal\Core\Config

Code

public static function getSubscribedEvents() {
    $events[ConfigEvents::IMPORT_VALIDATE][] = [
        'onConfigImporterValidate',
        20,
    ];
    return $events;
}

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