Search for all
- Search 7.x for all
- Search 8.9.x for all
- Search 10.3.x for all
- Search 11.x for all
- Search main for all
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| 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. |
| MenuListBuilder | class | core/ |
Defines a class to build a listing of menu entities. |
| MenuListBuilder.php | file | core/ |
|
| MenuListBuilder::buildHeader | function | core/ |
Builds the header row for the entity listing. |
| MenuListBuilder::buildRow | function | core/ |
Builds a row for an entity in the entity listing. |
| MenuListBuilder::ensureDestination | function | core/ |
Ensures that a destination is present on the given URL. |
| MenuListBuilder::getDefaultOperations | function | core/ |
Gets this list's default operations. |
| MenuListBuilder::render | function | core/ |
Builds the entity listing as renderable array for table.html.twig. |
| MenuParentFormSelector | class | core/ |
Default implementation of the menu parent form selector service. |
| MenuParentFormSelector.php | file | core/ |
|
| MenuParentFormSelector::$entityTypeManager | property | core/ |
The entity type manager service. |
| MenuParentFormSelector::$menuLinkTree | property | core/ |
The menu link tree service. |
| MenuParentFormSelector::getMenuOptions | function | core/ |
Gets a list of menu names for use as options. |
| MenuParentFormSelector::getParentDepthLimit | function | core/ |
Returns the maximum depth of the possible parents of the menu link. |
| MenuParentFormSelector::getParentSelectOptions | function | core/ |
Gets the options for a select element to choose a menu and parent. |
| MenuParentFormSelector::parentSelectElement | function | core/ |
Gets a form element to choose a menu and parent. |
| MenuParentFormSelector::parentSelectOptionsTreeWalk | function | core/ |
Iterates over all items in the tree to prepare the parents select options. |
| MenuParentFormSelector::__construct | function | core/ |
Constructs a \Drupal\Core\Menu\MenuParentFormSelector. |
| MenuParentFormSelectorInterface | interface | core/ |
Defines an interface for menu selector form elements and menu link options. |
| MenuParentFormSelectorInterface.php | file | core/ |
|
| MenuParentFormSelectorInterface::getParentSelectOptions | function | core/ |
Gets the options for a select element to choose a menu and parent. |
| MenuParentFormSelectorInterface::parentSelectElement | function | core/ |
Gets a form element to choose a menu and parent. |
| MenuResourceTestBase | class | core/ |
|
| MenuResourceTestBase.php | file | core/ |
|
| MenuResourceTestBase::$entity | property | core/ |
|
| MenuResourceTestBase::$entityTypeId | property | core/ |
The tested entity type. |
| MenuResourceTestBase::$modules | property | core/ |
Modules to install. |
| MenuResourceTestBase::createEntity | function | core/ |
Creates the entity to be tested. |
| MenuResourceTestBase::getExpectedCacheContexts | function | core/ |
The expected cache contexts for the GET/HEAD response of the test entity. |
Pagination
- Previous page
- Page 973
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.