function ContentLanguageSettingsInterface::setLanguageAlterable

Same name in other branches
  1. 8.9.x core/modules/language/src/ContentLanguageSettingsInterface.php \Drupal\language\ContentLanguageSettingsInterface::setLanguageAlterable()
  2. 10 core/modules/language/src/ContentLanguageSettingsInterface.php \Drupal\language\ContentLanguageSettingsInterface::setLanguageAlterable()
  3. 11.x core/modules/language/src/ContentLanguageSettingsInterface.php \Drupal\language\ContentLanguageSettingsInterface::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

1 method overrides ContentLanguageSettingsInterface::setLanguageAlterable()
ContentLanguageSettings::setLanguageAlterable in core/modules/language/src/Entity/ContentLanguageSettings.php
Sets if the language must be alterable or not.

File

core/modules/language/src/ContentLanguageSettingsInterface.php, line 61

Class

ContentLanguageSettingsInterface
Provides an interface defining language settings for content entities.

Namespace

Drupal\language

Code

public function setLanguageAlterable($language_alterable);

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