LanguageManagerInterface::getStandardLanguageList

public static 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.

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();
doc_Drupal
2016-10-29 09:22:43
Comments
Leave a Comment

Please login to continue.