public ConfigurableLanguage::setName($name)
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 199
Class
- ConfigurableLanguage
- Defines the ConfigurableLanguage entity.
Namespace
Drupal\language\Entity
Code
public function setName($name) { $this->label = $name; return $this; }
Please login to continue.