public function LanguageNegotiationMethodInterface::setLanguageManager in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/language/src/LanguageNegotiationMethodInterface.php \Drupal\language\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 27 - Contains \Drupal\language\LanguageNegotiationMethodInterface.
Class
- LanguageNegotiationMethodInterface
- Interface for language negotiation classes.
Namespace
Drupal\languageCode
public function setLanguageManager(ConfigurableLanguageManagerInterface $language_manager);