| 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 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. |
| 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::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. |
| 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::$deprecatedProperties |
property |
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. |
| MenuParentFormSelector::parentSelectElement |
function |
core/lib/Drupal/Core/Menu/MenuParentFormSelector.php |
Gets a form element to choose a menu and parent. |
| MenuParentFormSelector::parentSelectOptionsTreeWalk |
function |
core/lib/Drupal/Core/Menu/MenuParentFormSelector.php |
Iterates over all items in the tree to prepare the parents select options. |
| MenuParentFormSelector::__construct |
function |
core/lib/Drupal/Core/Menu/MenuParentFormSelector.php |
Constructs a \Drupal\Core\Menu\MenuParentFormSelector |
| MenuParentFormSelectorInterface |
interface |
core/lib/Drupal/Core/Menu/MenuParentFormSelectorInterface.php |
Defines an interface for menu selector form elements and menu link options. |
| MenuParentFormSelectorInterface.php |
file |
core/lib/Drupal/Core/Menu/MenuParentFormSelectorInterface.php |
|
| MenuParentFormSelectorInterface::getParentSelectOptions |
function |
core/lib/Drupal/Core/Menu/MenuParentFormSelectorInterface.php |
Gets the options for a select element to choose a menu and parent. |
| MenuParentFormSelectorInterface::parentSelectElement |
function |
core/lib/Drupal/Core/Menu/MenuParentFormSelectorInterface.php |
Gets a form element to choose a menu and parent. |
| MenuResourceTestBase |
class |
core/modules/system/tests/src/Functional/Rest/MenuResourceTestBase.php |
|
| MenuResourceTestBase |
class |
core/modules/rest/tests/src/Functional/EntityResource/Menu/MenuResourceTestBase.php |
|
| MenuResourceTestBase.php |
file |
core/modules/rest/tests/src/Functional/EntityResource/Menu/MenuResourceTestBase.php |
|
| MenuResourceTestBase.php |
file |
core/modules/system/tests/src/Functional/Rest/MenuResourceTestBase.php |
|
| MenuResourceTestBase::$entity |
property |
core/modules/system/tests/src/Functional/Rest/MenuResourceTestBase.php |
|
| MenuResourceTestBase::$entityTypeId |
property |
core/modules/system/tests/src/Functional/Rest/MenuResourceTestBase.php |
The tested entity type. |
| MenuResourceTestBase::$modules |
property |
core/modules/system/tests/src/Functional/Rest/MenuResourceTestBase.php |
Modules to install. |
| MenuResourceTestBase::createEntity |
function |
core/modules/system/tests/src/Functional/Rest/MenuResourceTestBase.php |
Creates the entity to be tested. |
| MenuResourceTestBase::getExpectedCacheContexts |
function |
core/modules/system/tests/src/Functional/Rest/MenuResourceTestBase.php |
The expected cache contexts for the GET/HEAD response of the test entity. |
| MenuResourceTestBase::getExpectedNormalizedEntity |
function |
core/modules/system/tests/src/Functional/Rest/MenuResourceTestBase.php |
Returns the expected normalization of the entity. |
| MenuResourceTestBase::getNormalizedPostEntity |
function |
core/modules/system/tests/src/Functional/Rest/MenuResourceTestBase.php |
Returns the normalized POST entity. |
| MenuResourceTestBase::setUpAuthorization |
function |
core/modules/system/tests/src/Functional/Rest/MenuResourceTestBase.php |
Sets up the necessary authorization. |
| MenuRouterRebuildSubscriber |
class |
core/lib/Drupal/Core/EventSubscriber/MenuRouterRebuildSubscriber.php |
Rebuilds the default menu links and runs menu-specific code if necessary. |
| MenuRouterRebuildSubscriber.php |
file |
core/lib/Drupal/Core/EventSubscriber/MenuRouterRebuildSubscriber.php |
|
| MenuRouterRebuildSubscriber::$connection |
property |
core/lib/Drupal/Core/EventSubscriber/MenuRouterRebuildSubscriber.php |
The database connection. |
| MenuRouterRebuildSubscriber::$lock |
property |
core/lib/Drupal/Core/EventSubscriber/MenuRouterRebuildSubscriber.php |
|