function Menu::isLocked

Same name in other branches
  1. 9 core/modules/system/src/Entity/Menu.php \Drupal\system\Entity\Menu::isLocked()
  2. 8.9.x core/modules/system/src/Entity/Menu.php \Drupal\system\Entity\Menu::isLocked()
  3. 11.x core/modules/system/src/Entity/Menu.php \Drupal\system\Entity\Menu::isLocked()

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;
}

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