summaryrefslogtreecommitdiffstatshomepage
path: root/core/modules/system/src/MenuInterface.php
blob: 42b961fde5c94a036aef46d2ddc6885205c68777 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?php

namespace Drupal\system;

use Drupal\Core\Config\Entity\ConfigEntityInterface;

/**
 * Provides an interface defining a menu entity.
 */
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();

}