Menu::isLocked

public 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 70

Class

Menu
Defines the Menu configuration entity class.

Namespace

Drupal\system\Entity

Code

1
2
3
public function isLocked() {
  return (bool) $this->locked;
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.