W3cubDocs

/Drupal 8

protected property 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 = array();

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Language!LanguageManager.php/property/LanguageManager::languages/8.1.x