You are here

public function ConfigurableLanguageManager::getNegotiator in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/language/src/ConfigurableLanguageManager.php \Drupal\language\ConfigurableLanguageManager::getNegotiator()

Returns the language negotiator.

Return value

\Drupal\language\LanguageNegotiatorInterface The language negotiator.

Overrides ConfigurableLanguageManagerInterface::getNegotiator

File

core/modules/language/src/ConfigurableLanguageManager.php, line 263

Class

ConfigurableLanguageManager
Overrides default LanguageManager to provide configured languages.

Namespace

Drupal\language

Code

public function getNegotiator() {
  return $this->negotiator;
}