You are here

public function ContentLanguageSettingsInterface::setLanguageAlterable in Drupal 8

Same name and namespace in other branches
  1. 9 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);