Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. LanguageManager.php

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 = [];

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal