You are here

public function Menu::isLocked in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/system/src/Entity/Menu.php \Drupal\system\Entity\Menu::isLocked()

Determines if this menu is locked.

Return value

bool TRUE if the menu is locked, FALSE otherwise.

Overrides MenuInterface::isLocked

File

core/modules/system/src/Entity/Menu.php, line 79

Class

Menu
Defines the Menu configuration entity class.

Namespace

Drupal\system\Entity

Code

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