ConfigurableLanguage::setName

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;
}
doc_Drupal
2016-10-29 08:55:08
Comments
Leave a Comment

Please login to continue.