public function LanguageRequestSubscriber::onContainerInitializeSubrequestFinished in Drupal 9
Same name and namespace in other branches
- 8 core/modules/language/src/EventSubscriber/LanguageRequestSubscriber.php \Drupal\language\EventSubscriber\LanguageRequestSubscriber::onContainerInitializeSubrequestFinished()
- 10 core/modules/language/src/EventSubscriber/LanguageRequestSubscriber.php \Drupal\language\EventSubscriber\LanguageRequestSubscriber::onContainerInitializeSubrequestFinished()
Initializes config overrides whenever the service container is rebuilt.
File
- core/
modules/ language/ src/ EventSubscriber/ LanguageRequestSubscriber.php, line 81
Class
- LanguageRequestSubscriber
- Sets the $request property on the language manager.
Namespace
Drupal\language\EventSubscriberCode
public function onContainerInitializeSubrequestFinished() {
$this
->setLanguageOverrides();
}