function LanguageManagerInterface::getStandardLanguageList

Same name in other branches
  1. 9 core/lib/Drupal/Core/Language/LanguageManagerInterface.php \Drupal\Core\Language\LanguageManagerInterface::getStandardLanguageList()
  2. 10 core/lib/Drupal/Core/Language/LanguageManagerInterface.php \Drupal\Core\Language\LanguageManagerInterface::getStandardLanguageList()
  3. 11.x core/lib/Drupal/Core/Language/LanguageManagerInterface.php \Drupal\Core\Language\LanguageManagerInterface::getStandardLanguageList()

Some common languages with their English and native names.

Language codes are defined by the W3C language tags document for interoperability. Language codes typically have a language and, optionally, a script or regional variant name. See: http://www.w3.org/International/articles/language-tags/ for more information.

Return value

array An array of language code to language name information. Language name information itself is an array of English and native names.

1 method overrides LanguageManagerInterface::getStandardLanguageList()
LanguageManager::getStandardLanguageList in core/lib/Drupal/Core/Language/LanguageManager.php
Some common languages with their English and native names.

File

core/lib/Drupal/Core/Language/LanguageManagerInterface.php, line 210

Class

LanguageManagerInterface
Common interface for the language manager service.

Namespace

Drupal\Core\Language

Code

public static function getStandardLanguageList();

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