public function Menu::isLocked in Drupal 8
Same name and namespace in other branches
- 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\EntityCode
public function isLocked() {
return (bool) $this->locked;
}