public function ConfigurableLanguage::isLocked in Drupal 9
Same name and namespace in other branches
- 8 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\EntityCode
public function isLocked() {
return (bool) $this->locked;
}