Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ConfigurableLanguageInterface.php

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
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);

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal