protected property LanguageManager::$languages in Drupal 9
Same name and namespace in other branches
- 8 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\LanguageCode
protected $languages = [];