function LanguageNegotiator::__construct
Same name and namespace in other branches
- 10 core/modules/language/src/LanguageNegotiator.php \Drupal\language\LanguageNegotiator::__construct()
- 11.x core/modules/language/src/LanguageNegotiator.php \Drupal\language\LanguageNegotiator::__construct()
- 9 core/modules/language/src/LanguageNegotiator.php \Drupal\language\LanguageNegotiator::__construct()
- 8.9.x core/modules/language/src/LanguageNegotiator.php \Drupal\language\LanguageNegotiator::__construct()
File
-
core/
modules/ language/ src/ LanguageNegotiator.php, line 42
Class
- LanguageNegotiator
- Class responsible for performing language negotiation.
Namespace
Drupal\languageCode
public function __construct(#[Autowire(service: 'language_manager')] protected ConfigurableLanguageManagerInterface $languageManager, #[Autowire(service: 'plugin.manager.language_negotiation_method')] protected PluginManagerInterface $negotiatorManager, protected ConfigFactoryInterface $configFactory, protected Settings $settings, protected RequestStack $requestStack) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.