public function LanguageManagerInterface::getLanguageName

public LanguageManagerInterface::getLanguageName($langcode)

Produced the printed name for a language for display.

Parameters

string $langcode: The language code.

Return value

string The printed name of the language.

File

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

Class

LanguageManagerInterface
Common interface for the language manager service.

Namespace

Drupal\Core\Language

Code

public function getLanguageName($langcode);

© 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::getLanguageName/8.1.x