public static function ConfigImportValidateEventSubscriberBase::getSubscribedEvents in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Config/ConfigImportValidateEventSubscriberBase.php \Drupal\Core\Config\ConfigImportValidateEventSubscriberBase::getSubscribedEvents()
- 10 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 - Returns an array of event names this subscriber wants to listen to.
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\ConfigCode
public static function getSubscribedEvents() {
$events[ConfigEvents::IMPORT_VALIDATE][] = [
'onConfigImporterValidate',
20,
];
return $events;
}