Search for menu

  1. Search 7.x for menu
  2. Search 9.5.x for menu
  3. Search 8.9.x for menu
  4. Search 10.3.x for menu
  5. Search 11.x for menu
  6. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Menu class core/modules/system/src/Entity/Menu.php Defines the Menu configuration entity class.
Menu class core/modules/system/src/Plugin/migrate/source/Menu.php Drupal 6/7 menu source from database.

All search results

Title Object type File name Summary
MenuLinkTranslationTest.php file core/modules/menu_link_content/tests/src/Kernel/Plugin/migrate/source/d7/MenuLinkTranslationTest.php
MenuLinkTranslationTest::$modules property core/modules/menu_link_content/tests/src/Kernel/Plugin/migrate/source/d6/MenuLinkTranslationTest.php Modules to install.
MenuLinkTranslationTest::$modules property core/modules/menu_link_content/tests/src/Kernel/Plugin/migrate/source/d7/MenuLinkTranslationTest.php Modules to install.
MenuLinkTranslationTest::providerSource function core/modules/menu_link_content/tests/src/Kernel/Plugin/migrate/source/d6/MenuLinkTranslationTest.php Provides source data for ::testSource.
MenuLinkTranslationTest::providerSource function core/modules/menu_link_content/tests/src/Kernel/Plugin/migrate/source/d7/MenuLinkTranslationTest.php Provides source data for ::testSource.
MenuLinkTree class core/lib/Drupal/Core/Menu/MenuLinkTree.php Implements the loading, transforming and rendering of menu link trees.
MenuLinkTree.php file core/lib/Drupal/Core/Menu/MenuLinkTree.php
MenuLinkTree::build function core/lib/Drupal/Core/Menu/MenuLinkTree.php Builds a renderable array from a menu tree.
MenuLinkTree::buildItems function core/lib/Drupal/Core/Menu/MenuLinkTree.php Builds the #items property for a menu tree's renderable array.
MenuLinkTree::createInstances function core/lib/Drupal/Core/Menu/MenuLinkTree.php Returns a tree containing of MenuLinkTreeElement based upon tree data.
MenuLinkTree::getCurrentRouteMenuTreeParameters function core/lib/Drupal/Core/Menu/MenuLinkTree.php Gets the link tree parameters for rendering a specific menu.
MenuLinkTree::getExpanded function core/lib/Drupal/Core/Menu/MenuLinkTree.php Finds expanded links in a menu given a set of possible parents.
MenuLinkTree::getSubtreeHeight function core/lib/Drupal/Core/Menu/MenuLinkTree.php Finds the height of a subtree rooted by of the given ID.
MenuLinkTree::load function core/lib/Drupal/Core/Menu/MenuLinkTree.php Loads a menu tree with a menu link plugin instance at each element.
MenuLinkTree::maxDepth function core/lib/Drupal/Core/Menu/MenuLinkTree.php Returns the maximum depth of tree that is supported.
MenuLinkTree::transform function core/lib/Drupal/Core/Menu/MenuLinkTree.php Applies menu link tree manipulators to transform the given tree.
MenuLinkTree::__construct function core/lib/Drupal/Core/Menu/MenuLinkTree.php Constructs a \Drupal\Core\Menu\MenuLinkTree object.
MenuLinkTreeElement class core/lib/Drupal/Core/Menu/MenuLinkTreeElement.php Provides a value object to model an element in a menu link tree.
MenuLinkTreeElement.php file core/lib/Drupal/Core/Menu/MenuLinkTreeElement.php
MenuLinkTreeElement::$access property core/lib/Drupal/Core/Menu/MenuLinkTreeElement.php Whether this link is accessible by the current user.
MenuLinkTreeElement::$options property core/lib/Drupal/Core/Menu/MenuLinkTreeElement.php Additional options for this link.
MenuLinkTreeElement::count function core/lib/Drupal/Core/Menu/MenuLinkTreeElement.php Counts all menu links in the current subtree.
MenuLinkTreeElement::__construct function core/lib/Drupal/Core/Menu/MenuLinkTreeElement.php Constructs a new \Drupal\Core\Menu\MenuLinkTreeElement.
MenuLinkTreeElementTest class core/tests/Drupal/Tests/Core/Menu/MenuLinkTreeElementTest.php Tests the menu link tree element value object.
MenuLinkTreeElementTest.php file core/tests/Drupal/Tests/Core/Menu/MenuLinkTreeElementTest.php
MenuLinkTreeElementTest::testConstruction function core/tests/Drupal/Tests/Core/Menu/MenuLinkTreeElementTest.php Tests construction.
MenuLinkTreeElementTest::testCount function core/tests/Drupal/Tests/Core/Menu/MenuLinkTreeElementTest.php Tests count().
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.
MenuLinkTreeTest class core/modules/system/tests/src/Unit/Menu/MenuLinkTreeTest.php Tests Drupal\Core\Menu\MenuLinkTree.
MenuLinkTreeTest class core/tests/Drupal/KernelTests/Core/Menu/MenuLinkTreeTest.php Tests the menu link tree.
MenuLinkTreeTest.php file core/tests/Drupal/KernelTests/Core/Menu/MenuLinkTreeTest.php
MenuLinkTreeTest.php file core/modules/system/tests/src/Unit/Menu/MenuLinkTreeTest.php
MenuLinkTreeTest::$linkTree property core/tests/Drupal/KernelTests/Core/Menu/MenuLinkTreeTest.php The tested menu link tree.
MenuLinkTreeTest::$menuLinkManager property core/tests/Drupal/KernelTests/Core/Menu/MenuLinkTreeTest.php The menu link plugin manager.
MenuLinkTreeTest::$menuLinkTree property core/modules/system/tests/src/Unit/Menu/MenuLinkTreeTest.php The tested menu link tree service.
MenuLinkTreeTest::$modules property core/tests/Drupal/KernelTests/Core/Menu/MenuLinkTreeTest.php Modules to install.
MenuLinkTreeTest::providerTestBuildCacheability function core/modules/system/tests/src/Unit/Menu/MenuLinkTreeTest.php Provides the test cases to test for ::testBuildCacheability().
MenuLinkTreeTest::setUp function core/modules/system/tests/src/Unit/Menu/MenuLinkTreeTest.php
MenuLinkTreeTest::setUp function core/tests/Drupal/KernelTests/Core/Menu/MenuLinkTreeTest.php
MenuLinkTreeTest::testBuildCacheability function core/modules/system/tests/src/Unit/Menu/MenuLinkTreeTest.php Tests build cacheability.
MenuLinkTreeTest::testCreateLinksInMenu function core/tests/Drupal/KernelTests/Core/Menu/MenuLinkTreeTest.php Tests creating links with an expected tree structure.
MenuLinkTreeTest::testDeleteLinksInMenu function core/tests/Drupal/KernelTests/Core/Menu/MenuLinkTreeTest.php Tests deleting all the links in a menu.

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