You are here

public function ContentLanguageSettings::setLanguageAlterable in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/language/src/Entity/ContentLanguageSettings.php \Drupal\language\Entity\ContentLanguageSettings::setLanguageAlterable()

Sets if the language must be alterable or not.

Parameters

bool $language_alterable: Flag indicating if the language must be alterable.

Return value

$this

Overrides ContentLanguageSettingsInterface::setLanguageAlterable

File

core/modules/language/src/Entity/ContentLanguageSettings.php, line 152

Class

ContentLanguageSettings
Defines the ContentLanguageSettings entity.

Namespace

Drupal\language\Entity

Code

public function setLanguageAlterable($language_alterable) {
  $this->language_alterable = $language_alterable;
  return $this;
}