MenuInterface.php

Same filename in other branches
  1. 9 core/modules/system/src/MenuInterface.php
  2. 8.9.x core/modules/system/src/MenuInterface.php
  3. 10 core/modules/system/src/MenuInterface.php

Namespace

Drupal\system

File

core/modules/system/src/MenuInterface.php

View source
<?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();

}

Interfaces

Title Deprecated Summary
MenuInterface Provides an interface defining a menu entity.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.