function LanguageNegotiationMethodInterface::setLanguageManager
Injects the language manager.
Parameters
\Drupal\language\ConfigurableLanguageManagerInterface $language_manager: The language manager to be used to retrieve the language list and the already negotiated languages.
1 method overrides LanguageNegotiationMethodInterface::setLanguageManager()
- LanguageNegotiationMethodBase::setLanguageManager in core/modules/ language/ src/ LanguageNegotiationMethodBase.php 
- Injects the language manager.
File
- 
              core/modules/ language/ src/ LanguageNegotiationMethodInterface.php, line 22 
Class
- LanguageNegotiationMethodInterface
- Interface for language negotiation classes.
Namespace
Drupal\languageCode
public function setLanguageManager(ConfigurableLanguageManagerInterface $language_manager);Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
