LanguageNegotiator::$negotiatedLanguages

Same name in other branches
  1. 9 core/modules/language/src/LanguageNegotiator.php \Drupal\language\LanguageNegotiator::negotiatedLanguages
  2. 10 core/modules/language/src/LanguageNegotiator.php \Drupal\language\LanguageNegotiator::negotiatedLanguages
  3. 11.x core/modules/language/src/LanguageNegotiator.php \Drupal\language\LanguageNegotiator::negotiatedLanguages

An array of language objects keyed by method id.

Type: \Drupal\Core\Language\LanguageInterface[]

File

core/modules/language/src/LanguageNegotiator.php, line 71

Class

LanguageNegotiator
Class responsible for performing language negotiation.

Namespace

Drupal\language

Code

protected $negotiatedLanguages = [];

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.