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