function ConfigSubscriber::getSubscribedEvents
Same name in this branch
- 11.x core/modules/config/src/ConfigSubscriber.php \Drupal\config\ConfigSubscriber::getSubscribedEvents()
Same name in other branches
- 9 core/modules/language/src/EventSubscriber/ConfigSubscriber.php \Drupal\language\EventSubscriber\ConfigSubscriber::getSubscribedEvents()
- 9 core/modules/config/src/ConfigSubscriber.php \Drupal\config\ConfigSubscriber::getSubscribedEvents()
- 8.9.x core/modules/language/src/EventSubscriber/ConfigSubscriber.php \Drupal\language\EventSubscriber\ConfigSubscriber::getSubscribedEvents()
- 8.9.x core/modules/config/src/ConfigSubscriber.php \Drupal\config\ConfigSubscriber::getSubscribedEvents()
- 10 core/modules/language/src/EventSubscriber/ConfigSubscriber.php \Drupal\language\EventSubscriber\ConfigSubscriber::getSubscribedEvents()
- 10 core/modules/config/src/ConfigSubscriber.php \Drupal\config\ConfigSubscriber::getSubscribedEvents()
File
-
core/
modules/ language/ src/ EventSubscriber/ ConfigSubscriber.php, line 143
Class
- ConfigSubscriber
- Deletes the container if default language has changed.
Namespace
Drupal\language\EventSubscriberCode
public static function getSubscribedEvents() : array {
$events[ConfigEvents::SAVE][] = [
'onConfigSave',
0,
];
return $events;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.