Search for interface

  1. Search 7.x for interface
  2. Search 9.5.x for interface
  3. Search 8.9.x for interface
  4. Search 11.x for interface
  5. Other projects
Title Object type File name Summary
MenuLinkInterface::getEditRoute function core/lib/Drupal/Core/Menu/MenuLinkInterface.php Returns route information for a custom edit form for the menu link.
MenuLinkInterface::getFormClass function core/lib/Drupal/Core/Menu/MenuLinkInterface.php Returns the name of a class that can build an editing form for this link.
MenuLinkInterface::getMenuName function core/lib/Drupal/Core/Menu/MenuLinkInterface.php Returns the menu name of the menu link.
MenuLinkInterface::getMetaData function core/lib/Drupal/Core/Menu/MenuLinkInterface.php Returns any metadata for this link.
MenuLinkInterface::getOperations function core/lib/Drupal/Core/Menu/MenuLinkInterface.php Provides an array of information to build a list of operation links.
MenuLinkInterface::getOptions function core/lib/Drupal/Core/Menu/MenuLinkInterface.php Returns the options for this link.
MenuLinkInterface::getParent function core/lib/Drupal/Core/Menu/MenuLinkInterface.php Returns the plugin ID of the menu link's parent, or an empty string.
MenuLinkInterface::getProvider function core/lib/Drupal/Core/Menu/MenuLinkInterface.php Returns the provider (module name) of the menu link.
MenuLinkInterface::getResetRoute function core/lib/Drupal/Core/Menu/MenuLinkInterface.php Returns route information for a route to reset the menu link.
MenuLinkInterface::getRouteName function core/lib/Drupal/Core/Menu/MenuLinkInterface.php Returns the route name, if available.
MenuLinkInterface::getRouteParameters function core/lib/Drupal/Core/Menu/MenuLinkInterface.php Returns the route parameters, if available.
MenuLinkInterface::getTitle function core/lib/Drupal/Core/Menu/MenuLinkInterface.php Returns the localized title to be shown for this link.
MenuLinkInterface::getTranslateRoute function core/lib/Drupal/Core/Menu/MenuLinkInterface.php Returns route information for a route to translate the menu link.
MenuLinkInterface::getUrlObject function core/lib/Drupal/Core/Menu/MenuLinkInterface.php Returns a URL object containing either the external path or route.
MenuLinkInterface::getWeight function core/lib/Drupal/Core/Menu/MenuLinkInterface.php Returns the weight of the menu link.
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

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