function LanguageNegotiationMethodBase::setLanguageManager
Same name in other branches
- 9 core/modules/language/src/LanguageNegotiationMethodBase.php \Drupal\language\LanguageNegotiationMethodBase::setLanguageManager()
- 8.9.x core/modules/language/src/LanguageNegotiationMethodBase.php \Drupal\language\LanguageNegotiationMethodBase::setLanguageManager()
- 11.x core/modules/language/src/LanguageNegotiationMethodBase.php \Drupal\language\LanguageNegotiationMethodBase::setLanguageManager()
Overrides LanguageNegotiationMethodInterface::setLanguageManager
File
-
core/
modules/ language/ src/ LanguageNegotiationMethodBase.php, line 38
Class
- LanguageNegotiationMethodBase
- Base class for language negotiation methods.
Namespace
Drupal\languageCode
public function setLanguageManager(ConfigurableLanguageManagerInterface $language_manager) {
$this->languageManager = $language_manager;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.