Search for interface

  1. Search 7.x for interface
  2. Search 9.5.x for interface
  3. Search 10.3.x for interface
  4. Search 11.x for interface
  5. Other projects
Title Object type File name Summary
MenuLinkInterface::isDeletable function core/lib/Drupal/Core/Menu/MenuLinkInterface.php Returns whether this link can be deleted.
MenuLinkInterface::isEnabled function core/lib/Drupal/Core/Menu/MenuLinkInterface.php Returns whether the menu link is enabled (not hidden).
MenuLinkInterface::isExpanded function core/lib/Drupal/Core/Menu/MenuLinkInterface.php Returns whether the child menu links should always been shown.
MenuLinkInterface::isResettable function core/lib/Drupal/Core/Menu/MenuLinkInterface.php Returns whether this link can be reset.
MenuLinkInterface::isTranslatable function core/lib/Drupal/Core/Menu/MenuLinkInterface.php Returns whether this link can be translated.
MenuLinkInterface::updateLink function core/lib/Drupal/Core/Menu/MenuLinkInterface.php Updates the definition values for a menu link.
MenuLinkManagerInterface interface core/lib/Drupal/Core/Menu/MenuLinkManagerInterface.php Defines an interface for managing menu links and storing their definitions.
MenuLinkManagerInterface.php file core/lib/Drupal/Core/Menu/MenuLinkManagerInterface.php
MenuLinkManagerInterface::addDefinition function core/lib/Drupal/Core/Menu/MenuLinkManagerInterface.php Adds a new menu link definition to the menu tree storage.
MenuLinkManagerInterface::countMenuLinks function core/lib/Drupal/Core/Menu/MenuLinkManagerInterface.php Counts the total number of menu links.
MenuLinkManagerInterface::deleteLinksInMenu function core/lib/Drupal/Core/Menu/MenuLinkManagerInterface.php Deletes all links having a certain menu name.
MenuLinkManagerInterface::getChildIds function core/lib/Drupal/Core/Menu/MenuLinkManagerInterface.php Loads all child link IDs of a given menu link, regardless of visibility.
MenuLinkManagerInterface::getParentIds function core/lib/Drupal/Core/Menu/MenuLinkManagerInterface.php Loads all parent link IDs of a given menu link.
MenuLinkManagerInterface::loadLinksByRoute function core/lib/Drupal/Core/Menu/MenuLinkManagerInterface.php Loads multiple plugin instances based on route.
MenuLinkManagerInterface::menuNameInUse function core/lib/Drupal/Core/Menu/MenuLinkManagerInterface.php Determines if any links use a given menu name.
MenuLinkManagerInterface::rebuild function core/lib/Drupal/Core/Menu/MenuLinkManagerInterface.php Triggers discovery, save, and cleanup of discovered links.
MenuLinkManagerInterface::removeDefinition function core/lib/Drupal/Core/Menu/MenuLinkManagerInterface.php Removes a single link definition from the menu tree storage.
MenuLinkManagerInterface::resetDefinitions function core/lib/Drupal/Core/Menu/MenuLinkManagerInterface.php Resets any local definition cache. Used for testing.
MenuLinkManagerInterface::resetLink function core/lib/Drupal/Core/Menu/MenuLinkManagerInterface.php Resets the values for a menu link based on the values found by discovery.
MenuLinkManagerInterface::updateDefinition function core/lib/Drupal/Core/Menu/MenuLinkManagerInterface.php Updates the values for a menu link definition in the menu tree storage.
MenuLinkTreeInterface interface core/lib/Drupal/Core/Menu/MenuLinkTreeInterface.php Defines an interface for loading, transforming and rendering menu link trees.
MenuLinkTreeInterface.php file core/lib/Drupal/Core/Menu/MenuLinkTreeInterface.php
MenuLinkTreeInterface::build function core/lib/Drupal/Core/Menu/MenuLinkTreeInterface.php Builds a renderable array from a menu tree.
MenuLinkTreeInterface::getCurrentRouteMenuTreeParameters function core/lib/Drupal/Core/Menu/MenuLinkTreeInterface.php Gets the link tree parameters for rendering a specific menu.
MenuLinkTreeInterface::getExpanded function core/lib/Drupal/Core/Menu/MenuLinkTreeInterface.php Finds expanded links in a menu given a set of possible parents.
MenuLinkTreeInterface::getSubtreeHeight function core/lib/Drupal/Core/Menu/MenuLinkTreeInterface.php Finds the height of a subtree rooted by of the given ID.
MenuLinkTreeInterface::load function core/lib/Drupal/Core/Menu/MenuLinkTreeInterface.php Loads a menu tree with a menu link plugin instance at each element.
MenuLinkTreeInterface::maxDepth function core/lib/Drupal/Core/Menu/MenuLinkTreeInterface.php Returns the maximum depth of tree that is supported.
MenuLinkTreeInterface::transform function core/lib/Drupal/Core/Menu/MenuLinkTreeInterface.php Applies menu link tree manipulators to transform the given tree.
MenuParentFormSelectorInterface interface core/lib/Drupal/Core/Menu/MenuParentFormSelectorInterface.php Defines an interface for menu selector form elements and menu link options.
MenuParentFormSelectorInterface.php file core/lib/Drupal/Core/Menu/MenuParentFormSelectorInterface.php
MenuParentFormSelectorInterface::getParentSelectOptions function core/lib/Drupal/Core/Menu/MenuParentFormSelectorInterface.php Gets the options for a select element to choose a menu and parent.
MenuParentFormSelectorInterface::parentSelectElement function core/lib/Drupal/Core/Menu/MenuParentFormSelectorInterface.php Gets a form element to choose a menu and parent.
MenuTreeStorageInterface interface core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php Defines an interface for storing a menu tree containing menu link IDs.
MenuTreeStorageInterface.php file core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php
MenuTreeStorageInterface::countMenuLinks function core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php Counts the total number of menu links in one menu or all menus.
MenuTreeStorageInterface::delete function core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php Deletes a menu link definition from the storage.
MenuTreeStorageInterface::getAllChildIds function core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php Loads all the IDs for menu links that are below the given ID.
MenuTreeStorageInterface::getExpanded function core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php Finds expanded links in a menu given a set of possible parents.
MenuTreeStorageInterface::getMenuNames function core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php Returns the used menu names in the tree storage.
MenuTreeStorageInterface::getRootPathIds function core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php Returns all the IDs that represent the path to the root of the tree.
MenuTreeStorageInterface::getSubtreeHeight function core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php Finds the height of a subtree rooted by the given ID.
MenuTreeStorageInterface::load function core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php Loads a menu link plugin definition from the storage.
MenuTreeStorageInterface::loadAllChildren function core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php Loads all the enabled menu links that are below the given ID.
MenuTreeStorageInterface::loadByProperties function core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php Loads multiple plugin definitions from the storage based on properties.
MenuTreeStorageInterface::loadByRoute function core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php Loads multiple plugin definitions from the storage based on route.
MenuTreeStorageInterface::loadMultiple function core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php Loads multiple plugin definitions from the storage.
MenuTreeStorageInterface::loadSubtreeData function core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php Loads a subtree rooted by the given ID.
MenuTreeStorageInterface::loadTreeData function core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php Loads a menu link tree from the storage.
MenuTreeStorageInterface::maxDepth function core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php The maximum depth of tree the storage implementation supports.

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