public function CustomLanguage::getName in Custom Language field 8
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
- src/
Entity/ CustomLanguage.php, line 93
Class
- CustomLanguage
- Defines the CustomLanguage entity.
Namespace
Drupal\languagefield\EntityCode
public function getName() {
return $this
->label();
}