You are here

public function Menu::isLocked in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 75
Contains \Drupal\system\Entity\Menu.

Class

Menu
Defines the Menu configuration entity class.

Namespace

Drupal\system\Entity

Code

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