public function LanguageNegotiationMethodInterface::setLanguageManager in Drupal 8
Same name and namespace in other branches
- 9 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 22
Class
- LanguageNegotiationMethodInterface
- Interface for language negotiation classes.
Namespace
Drupal\languageCode
public function setLanguageManager(ConfigurableLanguageManagerInterface $language_manager);