function LanguageInterface::getName
Same name in other branches
- 9 core/lib/Drupal/Core/Language/LanguageInterface.php \Drupal\Core\Language\LanguageInterface::getName()
- 8.9.x core/lib/Drupal/Core/Language/LanguageInterface.php \Drupal\Core\Language\LanguageInterface::getName()
- 10 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 - 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 115
Class
- LanguageInterface
- Defines an interface for languages.
Namespace
Drupal\Core\LanguageCode
public function getName();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.