Search for _link
- Search 7.x for _link
- Search 8.9.x for _link
- Search 10.3.x for _link
- Search 11.x for _link
- Search main for _link
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| MenuLinkTreeInterface | interface | core/ |
Defines an interface for loading, transforming and rendering menu link trees. |
| MenuLinkTreeInterface.php | file | core/ |
|
| MenuLinkTreeInterface::build | function | core/ |
Builds a renderable array from a menu tree. |
| MenuLinkTreeInterface::getCurrentRouteMenuTreeParameters | function | core/ |
Gets the link tree parameters for rendering a specific menu. |
| MenuLinkTreeInterface::getExpanded | function | core/ |
Finds expanded links in a menu given a set of possible parents. |
| MenuLinkTreeInterface::getSubtreeHeight | function | core/ |
Finds the height of a subtree rooted by of the given ID. |
| MenuLinkTreeInterface::load | function | core/ |
Loads a menu tree with a menu link plugin instance at each element. |
| MenuLinkTreeInterface::maxDepth | function | core/ |
Returns the maximum depth of tree that is supported. |
| MenuLinkTreeInterface::transform | function | core/ |
Applies menu link tree manipulators to transform the given tree. |
| MenuLinkTreeTest | class | core/ |
@coversDefaultClass \Drupal\Core\Menu\MenuLinkTree[[api-linebreak]] @group Menu |
| MenuLinkTreeTest | class | core/ |
Tests the menu link tree. |
| MenuLinkTreeTest.php | file | core/ |
|
| MenuLinkTreeTest.php | file | core/ |
|
| MenuLinkTreeTest::$linkTree | property | core/ |
The tested menu link tree. |
| MenuLinkTreeTest::$menuLinkManager | property | core/ |
The menu link plugin manager. |
| MenuLinkTreeTest::$menuLinkTree | property | core/ |
The tested menu link tree service. |
| MenuLinkTreeTest::$modules | property | core/ |
Modules to enable. |
| MenuLinkTreeTest::providerTestBuildCacheability | function | core/ |
Provides the test cases to test for ::testBuildCacheability(). |
| MenuLinkTreeTest::setUp | function | core/ |
|
| MenuLinkTreeTest::setUp | function | core/ |
|
| MenuLinkTreeTest::testBuildCacheability | function | core/ |
@covers ::build[[api-linebreak]] |
| MenuLinkTreeTest::testCreateLinksInMenu | function | core/ |
Tests creating links with an expected tree structure. |
| MenuLinkTreeTest::testDeleteLinksInMenu | function | core/ |
Tests deleting all the links in a menu. |
| MenuParentFormSelector::$menuLinkTree | property | core/ |
The menu link tree service. |
| MenuRouterRebuildSubscriber::$menuLinkManager | property | core/ |
The menu link plugin manager. |
| MenuRouterRebuildSubscriber::menuLinksRebuild | function | core/ |
Perform menu-specific rebuilding. |
| MenuRouterTest::doTestMenuLinksDiscoveredAlter | function | core/ |
Tests menu links added in hook_menu_links_discovered_alter(). |
| MenuTreeParameters::onlyEnabledLinks | function | core/ |
Excludes links that are not enabled. |
| MenuTreeParametersTest::testOnlyEnabledLinks | function | core/ |
Tests onlyEnabledLinks(). |
| MenuTreeStorage::countMenuLinks | function | core/ |
Counts the total number of menu links in one menu or all menus. |
| MenuTreeStorage::findNoLongerExistingLinks | function | core/ |
Find any previously discovered menu links that no longer exist. |
| MenuTreeStorage::loadLinks | function | core/ |
Loads links in the given menu, according to the given tree parameters. |
| MenuTreeStorage::prepareLink | function | core/ |
Prepares a link by unserializing values and saving the definition. |
| MenuTreeStorageInterface::countMenuLinks | function | core/ |
Counts the total number of menu links in one menu or all menus. |
| MenuTreeStorageTest::addMenuLink | function | core/ |
Adds a link with the given ID and supply defaults. |
| MenuTreeStorageTest::assertMenuLink | function | core/ |
Tests that a link's stored representation matches the expected values. |
| MenuTreeStorageTest::moveMenuLink | function | core/ |
Moves the link with the given ID so it's under a new parent. |
| MenuTreeStorageTest::testMenuDisabledChildLinks | function | core/ |
Tests with disabled child links. |
| MenuTreeStorageTest::testMenuLinkMoving | function | core/ |
Tests the tree with moving links inside the hierarchy. |
| MenuUiJavascriptTest::addMenuLink | function | core/ |
Adds a menu link using the UI. |
| MenuUiJavascriptTest::testBlockContextualLinks | function | core/ |
Tests the contextual links on a menu block. |
| MenuUiTest::addInvalidMenuLink | function | core/ |
Attempts to add menu link with invalid path or no access permission. |
| MenuUiTest::addMenuLink | function | core/ |
Adds a menu link using the UI. |
| MenuUiTest::checkInvalidParentMenuLinks | function | core/ |
Tests that parent options are limited by depth when adding menu links. |
| MenuUiTest::deleteMenuLink | function | core/ |
Deletes a menu link using the UI. |
| MenuUiTest::disableMenuLink | function | core/ |
Disables a menu link. |
| MenuUiTest::doMenuLinkFormDefaultsTest | function | core/ |
Ensures that the proper default values are set when adding a menu link. |
| MenuUiTest::enableMenuLink | function | core/ |
Enables a menu link. |
| MenuUiTest::getStandardMenuLink | function | core/ |
Returns standard menu link. |
| MenuUiTest::modifyMenuLink | function | core/ |
Modifies a menu link using the UI. |
Pagination
- Previous page
- Page 30
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.