Language::isLocked

public 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\Language

Code

1
2
3
public function isLocked() {
  return (bool) $this->locked;
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.