ConfigurableLanguage::getName

public ConfigurableLanguage::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).

Overrides LanguageInterface::getName

File

core/modules/language/src/Entity/ConfigurableLanguage.php, line 192

Class

ConfigurableLanguage
Defines the ConfigurableLanguage entity.

Namespace

Drupal\language\Entity

Code

public function getName() {
  return $this->label();
}
doc_Drupal
2016-10-29 08:55:07
Comments
Leave a Comment

Please login to continue.