function ConfigSubscriber::__construct
Same name in this branch
- 11.x core/modules/language/src/EventSubscriber/ConfigSubscriber.php \Drupal\language\EventSubscriber\ConfigSubscriber::__construct()
Same name and namespace in other branches
- 10 core/modules/language/src/EventSubscriber/ConfigSubscriber.php \Drupal\language\EventSubscriber\ConfigSubscriber::__construct()
- 9 core/modules/language/src/EventSubscriber/ConfigSubscriber.php \Drupal\language\EventSubscriber\ConfigSubscriber::__construct()
- 8.9.x core/modules/language/src/EventSubscriber/ConfigSubscriber.php \Drupal\language\EventSubscriber\ConfigSubscriber::__construct()
File
-
core/
modules/ locale/ src/ EventSubscriber/ ConfigSubscriber.php, line 16
Class
- ConfigSubscriber
- Rebuilds the container when locale config is changed.
Namespace
Drupal\locale\EventSubscriberCode
public function __construct(#[Autowire(service: 'kernel')] private DrupalKernel $kernel) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.