Mercurial > hg > isophonics-drupal-site
annotate core/modules/system/src/MenuInterface.php @ 0:4c8ae668cc8c
Initial import (non-working)
author | Chris Cannam |
---|---|
date | Wed, 29 Nov 2017 16:09:58 +0000 |
parents | |
children |
rev | line source |
---|---|
Chris@0 | 1 <?php |
Chris@0 | 2 |
Chris@0 | 3 namespace Drupal\system; |
Chris@0 | 4 |
Chris@0 | 5 use Drupal\Core\Config\Entity\ConfigEntityInterface; |
Chris@0 | 6 |
Chris@0 | 7 /** |
Chris@0 | 8 * Provides an interface defining a menu entity. |
Chris@0 | 9 */ |
Chris@0 | 10 interface MenuInterface extends ConfigEntityInterface { |
Chris@0 | 11 |
Chris@0 | 12 /** |
Chris@0 | 13 * Returns the description of the menu. |
Chris@0 | 14 * |
Chris@0 | 15 * @return string |
Chris@0 | 16 * Description of the menu. |
Chris@0 | 17 */ |
Chris@0 | 18 public function getDescription(); |
Chris@0 | 19 |
Chris@0 | 20 /** |
Chris@0 | 21 * Determines if this menu is locked. |
Chris@0 | 22 * |
Chris@0 | 23 * @return bool |
Chris@0 | 24 * TRUE if the menu is locked, FALSE otherwise. |
Chris@0 | 25 */ |
Chris@0 | 26 public function isLocked(); |
Chris@0 | 27 |
Chris@0 | 28 } |