You are here

public function LanguageInterface::getName in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Language/LanguageInterface.php \Drupal\Core\Language\LanguageInterface::getName()

Gets the name of the language.

Return value

string The human-readable name of the language (in the language that was used to construct this object).

2 methods override LanguageInterface::getName()
ConfigurableLanguage::getName in core/modules/language/src/Entity/ConfigurableLanguage.php
Gets the name of the language.
Language::getName in core/lib/Drupal/Core/Language/Language.php
Gets the name of the language.

File

core/lib/Drupal/Core/Language/LanguageInterface.php, line 111
Contains \Drupal\Core\Language\LanguageInterface.

Class

LanguageInterface
Defines a language.

Namespace

Drupal\Core\Language

Code

public function getName();