Version 1
[yaffs-website] / web / core / modules / system / src / MenuInterface.php
diff --git a/web/core/modules/system/src/MenuInterface.php b/web/core/modules/system/src/MenuInterface.php
new file mode 100644 (file)
index 0000000..42b961f
--- /dev/null
@@ -0,0 +1,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();
+
+}