public function Language::isLocked in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Language/Language.php \Drupal\Core\Language\Language::isLocked()
Returns whether this language is locked.
Return value
bool Whether the language is locked or not.
Overrides LanguageInterface::isLocked
File
- core/
lib/ Drupal/ Core/ Language/ Language.php, line 136
Class
- Language
- An object containing the information for an interface language.
Namespace
Drupal\Core\LanguageCode
public function isLocked() {
return (bool) $this->locked;
}