public function ConfigurableLanguageInterface::setName in Drupal 10
Same name and namespace in other branches
- 8 core/modules/language/src/ConfigurableLanguageInterface.php \Drupal\language\ConfigurableLanguageInterface::setName()
- 9 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);