function ConfigSubscriber::getSubscribedEvents

Same name in this branch
  1. 9 core/modules/language/src/EventSubscriber/ConfigSubscriber.php \Drupal\language\EventSubscriber\ConfigSubscriber::getSubscribedEvents()
Same name in other branches
  1. 8.9.x core/modules/language/src/EventSubscriber/ConfigSubscriber.php \Drupal\language\EventSubscriber\ConfigSubscriber::getSubscribedEvents()
  2. 8.9.x core/modules/config/src/ConfigSubscriber.php \Drupal\config\ConfigSubscriber::getSubscribedEvents()
  3. 10 core/modules/language/src/EventSubscriber/ConfigSubscriber.php \Drupal\language\EventSubscriber\ConfigSubscriber::getSubscribedEvents()
  4. 10 core/modules/config/src/ConfigSubscriber.php \Drupal\config\ConfigSubscriber::getSubscribedEvents()
  5. 11.x core/modules/language/src/EventSubscriber/ConfigSubscriber.php \Drupal\language\EventSubscriber\ConfigSubscriber::getSubscribedEvents()
  6. 11.x core/modules/config/src/ConfigSubscriber.php \Drupal\config\ConfigSubscriber::getSubscribedEvents()

Overrides ConfigImportValidateEventSubscriberBase::getSubscribedEvents

File

core/modules/config/src/ConfigSubscriber.php, line 36

Class

ConfigSubscriber
Config subscriber.

Namespace

Drupal\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.