interface MenuInterface
Same name and namespace in other branches
- 11.x core/modules/system/src/MenuInterface.php \Drupal\system\MenuInterface
- 9 core/modules/system/src/MenuInterface.php \Drupal\system\MenuInterface
- 8.9.x core/modules/system/src/MenuInterface.php \Drupal\system\MenuInterface
Provides an interface defining a menu entity.
Hierarchy
- interface \Drupal\Core\Config\Entity\ThirdPartySettingsInterface; interface \Drupal\Core\Entity\EntityInterface extends \Drupal\Core\Access\AccessibleInterface, \Drupal\Core\Cache\CacheableDependencyInterface, \Drupal\Core\Cache\RefinableCacheableDependencyInterface; interface \Drupal\Core\Entity\SynchronizableInterface extends \Drupal\Core\Entity\EntityInterface
- interface \Drupal\Core\Config\Entity\ConfigEntityInterface extends \Drupal\Core\Entity\EntityInterface, \Drupal\Core\Config\Entity\ThirdPartySettingsInterface, \Drupal\Core\Entity\SynchronizableInterface
- interface \Drupal\system\MenuInterface extends \Drupal\Core\Config\Entity\ConfigEntityInterface
- interface \Drupal\Core\Config\Entity\ConfigEntityInterface extends \Drupal\Core\Entity\EntityInterface, \Drupal\Core\Config\Entity\ThirdPartySettingsInterface, \Drupal\Core\Entity\SynchronizableInterface
Expanded class hierarchy of MenuInterface
All classes that implement MenuInterface
10 files declare their use of MenuInterface
- LinksetController.php in core/
modules/ system/ src/ Controller/ LinksetController.php - Menu.php in core/
modules/ system/ src/ Entity/ Menu.php - MenuBlockTest.php in core/
modules/ menu_ui/ tests/ src/ Kernel/ MenuBlockTest.php - MenuController.php in core/
modules/ menu_link_content/ src/ Controller/ MenuController.php - MenuController.php in core/
modules/ menu_ui/ src/ Controller/ MenuController.php
File
-
core/
modules/ system/ src/ MenuInterface.php, line 10
Namespace
Drupal\systemView source
interface MenuInterface extends ConfigEntityInterface {
/**
* Returns the description of the menu.
*
* @return string
* Description of the menu.
*/
public function getDescription();
/**
* Determines if this menu is locked.
*
* @return bool
* TRUE if the menu is locked, FALSE otherwise.
*/
public function isLocked();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.