You are here

public function ContentLanguageSettings::setLanguageAlterable in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 141
Contains \Drupal\language\Entity\ContentLanguageSettings.

Class

ContentLanguageSettings
Defines the ContentLanguageSettings entity.

Namespace

Drupal\language\Entity

Code

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