function 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
#[ActionMethod(adminLabel: new TranslatableMarkup('Set Language name'), pluralize: FALSE)]

File

core/modules/language/src/ConfigurableLanguageInterface.php, line 21

Class

ConfigurableLanguageInterface
Provides an interface defining a language entity.

Namespace

Drupal\language

Code

public function setName($name);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.