You are here

public function ConfigurableLanguage::isLocked in Drupal 10

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

Returns whether this language is locked.

Return value

bool Whether the language is locked or not.

Overrides LanguageInterface::isLocked

1 call to ConfigurableLanguage::isLocked()
ConfigurableLanguage::postSave in core/modules/language/src/Entity/ConfigurableLanguage.php
Acts on a saved entity before the insert or update hook is invoked.

File

core/modules/language/src/Entity/ConfigurableLanguage.php, line 116

Class

ConfigurableLanguage
Defines the ConfigurableLanguage entity.

Namespace

Drupal\language\Entity

Code

public function isLocked() {
  return (bool) $this->locked;
}