public static function ConfigFactoryOverrideBase::getSubscribedEvents in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Config/ConfigFactoryOverrideBase.php \Drupal\Core\Config\ConfigFactoryOverrideBase::getSubscribedEvents()
File
- core/
lib/ Drupal/ Core/ Config/ ConfigFactoryOverrideBase.php, line 47
Class
- ConfigFactoryOverrideBase
- Defines a base event listener implementation configuration overrides.
Namespace
Drupal\Core\ConfigCode
public static function getSubscribedEvents() {
$events[ConfigEvents::COLLECTION_INFO][] = [
'addCollections',
];
$events[ConfigEvents::SAVE][] = [
'onConfigSave',
20,
];
$events[ConfigEvents::DELETE][] = [
'onConfigDelete',
20,
];
$events[ConfigEvents::RENAME][] = [
'onConfigRename',
20,
];
return $events;
}