public static function ConfigSubscriber::getSubscribedEvents in Drupal 10
Same name in this branch
- 10 core/modules/config/src/ConfigSubscriber.php \Drupal\config\ConfigSubscriber::getSubscribedEvents()
- 10 core/modules/language/src/EventSubscriber/ConfigSubscriber.php \Drupal\language\EventSubscriber\ConfigSubscriber::getSubscribedEvents()
Same name and namespace in other branches
- 8 core/modules/config/src/ConfigSubscriber.php \Drupal\config\ConfigSubscriber::getSubscribedEvents()
- 9 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\configCode
public static function getSubscribedEvents() : array {
$events[ConfigEvents::IMPORT_VALIDATE][] = [
'onConfigImporterValidate',
20,
];
return $events;
}