function LanguageManagerInterface::getStandardLanguageList
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Language/LanguageManagerInterface.php \Drupal\Core\Language\LanguageManagerInterface::getStandardLanguageList()
- 10 core/lib/Drupal/Core/Language/LanguageManagerInterface.php \Drupal\Core\Language\LanguageManagerInterface::getStandardLanguageList()
- 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 213
Class
- LanguageManagerInterface
- Common interface for the language manager service.
Namespace
Drupal\Core\LanguageCode
public static function getStandardLanguageList();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.