You are here

public function ContentLanguageSettings::isLanguageAlterable in Drupal 10

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

Checks if the language is alterable or not.

Return value

bool

Overrides ContentLanguageSettingsInterface::isLanguageAlterable

File

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

Class

ContentLanguageSettings
Defines the ContentLanguageSettings entity.

Namespace

Drupal\language\Entity

Code

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