function ConfigSubscriber::__construct

Same name in this branch
  1. 11.x core/modules/language/src/EventSubscriber/ConfigSubscriber.php \Drupal\language\EventSubscriber\ConfigSubscriber::__construct()
Same name and namespace in other branches
  1. 10 core/modules/language/src/EventSubscriber/ConfigSubscriber.php \Drupal\language\EventSubscriber\ConfigSubscriber::__construct()
  2. 9 core/modules/language/src/EventSubscriber/ConfigSubscriber.php \Drupal\language\EventSubscriber\ConfigSubscriber::__construct()
  3. 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\EventSubscriber

Code

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.