You are here

public static function ConfigImportValidateEventSubscriberBase::getSubscribedEvents in Drupal 9

Same name and namespace in other branches
  1. 8 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;
}