Search for _link

  1. Search 7.x for _link
  2. Search 8.9.x for _link
  3. Search 10.3.x for _link
  4. Search 11.x for _link
  5. Search main for _link
  6. Other projects
Title Object type File name Summary
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 @coversDefaultClass \Drupal\Core\Menu\MenuLinkTree[[api-linebreak]]
@group Menu
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 enable.
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 @covers ::build[[api-linebreak]]
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.
MenuParentFormSelector::$menuLinkTree property core/lib/Drupal/Core/Menu/MenuParentFormSelector.php The menu link tree service.
MenuRouterRebuildSubscriber::$menuLinkManager property core/lib/Drupal/Core/EventSubscriber/MenuRouterRebuildSubscriber.php The menu link plugin manager.
MenuRouterRebuildSubscriber::menuLinksRebuild function core/lib/Drupal/Core/EventSubscriber/MenuRouterRebuildSubscriber.php Perform menu-specific rebuilding.
MenuRouterTest::doTestMenuLinksDiscoveredAlter function core/modules/system/tests/src/Functional/Menu/MenuRouterTest.php Tests menu links added in hook_menu_links_discovered_alter().
MenuTreeParameters::onlyEnabledLinks function core/lib/Drupal/Core/Menu/MenuTreeParameters.php Excludes links that are not enabled.
MenuTreeParametersTest::testOnlyEnabledLinks function core/tests/Drupal/Tests/Core/Menu/MenuTreeParametersTest.php Tests onlyEnabledLinks().
MenuTreeStorage::countMenuLinks function core/lib/Drupal/Core/Menu/MenuTreeStorage.php Counts the total number of menu links in one menu or all menus.
MenuTreeStorage::findNoLongerExistingLinks function core/lib/Drupal/Core/Menu/MenuTreeStorage.php Find any previously discovered menu links that no longer exist.
MenuTreeStorage::loadLinks function core/lib/Drupal/Core/Menu/MenuTreeStorage.php Loads links in the given menu, according to the given tree parameters.
MenuTreeStorage::prepareLink function core/lib/Drupal/Core/Menu/MenuTreeStorage.php Prepares a link by unserializing values and saving the definition.
MenuTreeStorageInterface::countMenuLinks function core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php Counts the total number of menu links in one menu or all menus.
MenuTreeStorageTest::addMenuLink function core/tests/Drupal/KernelTests/Core/Menu/MenuTreeStorageTest.php Adds a link with the given ID and supply defaults.
MenuTreeStorageTest::assertMenuLink function core/tests/Drupal/KernelTests/Core/Menu/MenuTreeStorageTest.php Tests that a link's stored representation matches the expected values.
MenuTreeStorageTest::moveMenuLink function core/tests/Drupal/KernelTests/Core/Menu/MenuTreeStorageTest.php Moves the link with the given ID so it's under a new parent.
MenuTreeStorageTest::testMenuDisabledChildLinks function core/tests/Drupal/KernelTests/Core/Menu/MenuTreeStorageTest.php Tests with disabled child links.
MenuTreeStorageTest::testMenuLinkMoving function core/tests/Drupal/KernelTests/Core/Menu/MenuTreeStorageTest.php Tests the tree with moving links inside the hierarchy.
MenuUiJavascriptTest::addMenuLink function core/modules/menu_ui/tests/src/FunctionalJavascript/MenuUiJavascriptTest.php Adds a menu link using the UI.
MenuUiJavascriptTest::testBlockContextualLinks function core/modules/menu_ui/tests/src/FunctionalJavascript/MenuUiJavascriptTest.php Tests the contextual links on a menu block.
MenuUiTest::addInvalidMenuLink function core/modules/menu_ui/tests/src/Functional/MenuUiTest.php Attempts to add menu link with invalid path or no access permission.
MenuUiTest::addMenuLink function core/modules/menu_ui/tests/src/Functional/MenuUiTest.php Adds a menu link using the UI.
MenuUiTest::checkInvalidParentMenuLinks function core/modules/menu_ui/tests/src/Functional/MenuUiTest.php Tests that parent options are limited by depth when adding menu links.
MenuUiTest::deleteMenuLink function core/modules/menu_ui/tests/src/Functional/MenuUiTest.php Deletes a menu link using the UI.
MenuUiTest::disableMenuLink function core/modules/menu_ui/tests/src/Functional/MenuUiTest.php Disables a menu link.
MenuUiTest::doMenuLinkFormDefaultsTest function core/modules/menu_ui/tests/src/Functional/MenuUiTest.php Ensures that the proper default values are set when adding a menu link.
MenuUiTest::enableMenuLink function core/modules/menu_ui/tests/src/Functional/MenuUiTest.php Enables a menu link.
MenuUiTest::getStandardMenuLink function core/modules/menu_ui/tests/src/Functional/MenuUiTest.php Returns standard menu link.
MenuUiTest::modifyMenuLink function core/modules/menu_ui/tests/src/Functional/MenuUiTest.php Modifies a menu link using the UI.

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