You are here

public function Language::isLocked in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 139
Contains \Drupal\Core\Language\Language.

Class

Language
An object containing the information for an interface language.

Namespace

Drupal\Core\Language

Code

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