MenuInterface.php 509 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. namespace Drupal\system;
  3. use Drupal\Core\Config\Entity\ConfigEntityInterface;
  4. /**
  5. * Provides an interface defining a menu entity.
  6. */
  7. interface MenuInterface extends ConfigEntityInterface {
  8. /**
  9. * Returns the description of the menu.
  10. *
  11. * @return string
  12. * Description of the menu.
  13. */
  14. public function getDescription();
  15. /**
  16. * Determines if this menu is locked.
  17. *
  18. * @return bool
  19. * TRUE if the menu is locked, FALSE otherwise.
  20. */
  21. public function isLocked();
  22. }