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

1
2
3
public function getName() {
  return $this->label();
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.