public static function LanguageManagerInterface::getStandardLanguageList in Drupal 9
Same name and namespace in other branches
- 8 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\LanguageCode
public static function getStandardLanguageList();