You are here

public static function ConfigSubscriber::getSubscribedEvents in Drupal 8

Same name in this branch
  1. 8 core/modules/config/src/ConfigSubscriber.php \Drupal\config\ConfigSubscriber::getSubscribedEvents()
  2. 8 core/modules/language/src/EventSubscriber/ConfigSubscriber.php \Drupal\language\EventSubscriber\ConfigSubscriber::getSubscribedEvents()
Same name and namespace in other branches
  1. 9 core/modules/config/src/ConfigSubscriber.php \Drupal\config\ConfigSubscriber::getSubscribedEvents()
  2. 10 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;
}