| MenuLinkTreeElement::$subtree |
property |
core/lib/Drupal/Core/Menu/MenuLinkTreeElement.php |
The subtree of this element in the menu link tree (this link's children). |
| 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/modules/system/tests/src/Unit/Menu/MenuLinkTreeTest.php |
|
| MenuLinkTreeTest.php |
file |
core/tests/Drupal/KernelTests/Core/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. |
| MenuLinkTreeTest::testUserLoginAndUserLogoutLinks |
function |
core/tests/Drupal/KernelTests/Core/Menu/MenuLinkTreeTest.php |
Tests user/login and user/logout links. |
| MenuListBuilder |
class |
core/modules/menu_ui/src/MenuListBuilder.php |
Defines a class to build a listing of menu entities. |
| MenuListBuilder.php |
file |
core/modules/menu_ui/src/MenuListBuilder.php |
|
| MenuListBuilder::buildHeader |
function |
core/modules/menu_ui/src/MenuListBuilder.php |
Builds the header row for the entity listing. |
| MenuListBuilder::buildRow |
function |
core/modules/menu_ui/src/MenuListBuilder.php |
Builds a row for an entity in the entity listing. |
| MenuListBuilder::ensureDestination |
function |
core/modules/menu_ui/src/MenuListBuilder.php |
Ensures that a destination is present on the given URL. |
| MenuListBuilder::getDefaultOperations |
function |
core/modules/menu_ui/src/MenuListBuilder.php |
Gets this list's default operations. |
| MenuListBuilder::render |
function |
core/modules/menu_ui/src/MenuListBuilder.php |
Builds the entity listing as renderable array for table.html.twig. |
| MenuListBuilder::SORT_KEY |
constant |
core/modules/menu_ui/src/MenuListBuilder.php |
The entity key to sort the list by. |
| MenuOperationsLinkTestHooks |
class |
core/modules/menu_link_content/tests/menu_operations_link_test/src/Hook/MenuOperationsLinkTestHooks.php |
Hook implementations for menu_operations_link_test. |
| MenuOperationsLinkTestHooks.php |
file |
core/modules/menu_link_content/tests/menu_operations_link_test/src/Hook/MenuOperationsLinkTestHooks.php |
|
| MenuOperationsLinkTestHooks::entityOperation |
function |
core/modules/menu_link_content/tests/menu_operations_link_test/src/Hook/MenuOperationsLinkTestHooks.php |
Implements hook_entity_operation(). |
| MenuOperationsLinkTestHooks::entityOperationAlter |
function |
core/modules/menu_link_content/tests/menu_operations_link_test/src/Hook/MenuOperationsLinkTestHooks.php |
Implements hook_entity_operation_alter(). |
| MenuParentFormSelector |
class |
core/lib/Drupal/Core/Menu/MenuParentFormSelector.php |
Default implementation of the menu parent form selector service. |
| MenuParentFormSelector.php |
file |
core/lib/Drupal/Core/Menu/MenuParentFormSelector.php |
|
| MenuParentFormSelector::$entityTypeManager |
property |
core/lib/Drupal/Core/Menu/MenuParentFormSelector.php |
The entity type manager service. |
| MenuParentFormSelector::$menuLinkTree |
property |
core/lib/Drupal/Core/Menu/MenuParentFormSelector.php |
The menu link tree service. |
| MenuParentFormSelector::getMenuOptions |
function |
core/lib/Drupal/Core/Menu/MenuParentFormSelector.php |
Gets a list of menu names for use as options. |
| MenuParentFormSelector::getParentDepthLimit |
function |
core/lib/Drupal/Core/Menu/MenuParentFormSelector.php |
Returns the maximum depth of the possible parents of the menu link. |
| MenuParentFormSelector::getParentSelectOptions |
function |
core/lib/Drupal/Core/Menu/MenuParentFormSelector.php |
Gets the options for a select element to choose a menu and parent. |