function LanguageRequestSubscriber::onContainerInitializeSubrequestFinished
Same name in other branches
- 8.9.x 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()
- 11.x 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();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.