You are here

public function ConfigurableLanguageInterface::setName in Drupal 9

Same name and namespace in other branches
  1. 8 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\language

Code

public function setName($name);