You are here

protected property LanguageManager::$languages in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Language/LanguageManager.php \Drupal\Core\Language\LanguageManager::languages
  2. 10 core/lib/Drupal/Core/Language/LanguageManager.php \Drupal\Core\Language\LanguageManager::languages

A static cache of translated language lists.

Array of arrays to cache the result of self::getLanguages() keyed by the language the list is translated to (first level) and the flags provided to the method (second level).

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

See also

\Drupal\Core\Language\LanguageManager::getLanguages()

File

core/lib/Drupal/Core/Language/LanguageManager.php, line 26

Class

LanguageManager
Class responsible for providing language support on language-unaware sites.

Namespace

Drupal\Core\Language

Code

protected $languages = [];