public function Menu::isLocked in Drupal 9
Same name and namespace in other branches
- 8 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;
}