W3cubDocs

/Drupal 8

public static function 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();

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Language!LanguageManagerInterface.php/function/LanguageManagerInterface::getStandardLanguageList/8.1.x