function ConfigurableLanguageInterface::setName
Same name in other branches
- 8.9.x core/modules/language/src/ConfigurableLanguageInterface.php \Drupal\language\ConfigurableLanguageInterface::setName()
- 10 core/modules/language/src/ConfigurableLanguageInterface.php \Drupal\language\ConfigurableLanguageInterface::setName()
- 11.x core/modules/language/src/ConfigurableLanguageInterface.php \Drupal\language\ConfigurableLanguageInterface::setName()
Sets the name of the language.
Parameters
string $name: The human-readable English name of the language.
Return value
$this
1 method overrides ConfigurableLanguageInterface::setName()
- ConfigurableLanguage::setName in core/
modules/ language/ src/ Entity/ ConfigurableLanguage.php - Sets the name of the language.
File
-
core/
modules/ language/ src/ ConfigurableLanguageInterface.php, line 21
Class
- ConfigurableLanguageInterface
- Provides an interface defining a language entity.
Namespace
Drupal\languageCode
public function setName($name);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.