function LanguageInterface::isLocked

Same name in other branches
  1. 9 core/lib/Drupal/Core/Language/LanguageInterface.php \Drupal\Core\Language\LanguageInterface::isLocked()
  2. 8.9.x core/lib/Drupal/Core/Language/LanguageInterface.php \Drupal\Core\Language\LanguageInterface::isLocked()
  3. 11.x core/lib/Drupal/Core/Language/LanguageInterface.php \Drupal\Core\Language\LanguageInterface::isLocked()

Returns whether this language is locked.

Return value

bool Whether the language is locked or not.

2 methods override LanguageInterface::isLocked()
ConfigurableLanguage::isLocked in core/modules/language/src/Entity/ConfigurableLanguage.php
Returns whether this language is locked.
Language::isLocked in core/lib/Drupal/Core/Language/Language.php
Returns whether this language is locked.

File

core/lib/Drupal/Core/Language/LanguageInterface.php, line 156

Class

LanguageInterface
Defines an interface for languages.

Namespace

Drupal\Core\Language

Code

public function isLocked();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.