public function ConfigurableLanguage::setName in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/modules/language/src/Entity/ConfigurableLanguage.php \Drupal\language\Entity\ConfigurableLanguage::setName()
Sets the name of the language.
Parameters
string $name: The human-readable English name of the language.
Return value
$this
Overrides ConfigurableLanguageInterface::setName
File
- core/
modules/ language/ src/ Entity/ ConfigurableLanguage.php, line 204 - Contains \Drupal\language\Entity\ConfigurableLanguage.
Class
- ConfigurableLanguage
- Defines the ConfigurableLanguage entity.
Namespace
Drupal\language\EntityCode
public function setName($name) {
$this->label = $name;
return $this;
}