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 |
Resource test base for the menu entity. |
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::getSubscribedEvents |
function |
core/lib/Drupal/Core/EventSubscriber/MenuRouterRebuildSubscriber.php |
|
MenuRouterRebuildSubscriber::menuLinksRebuild |
function |
core/lib/Drupal/Core/EventSubscriber/MenuRouterRebuildSubscriber.php |
Perform menu-specific rebuilding. |
MenuRouterRebuildSubscriber::onRouterRebuild |
function |
core/lib/Drupal/Core/EventSubscriber/MenuRouterRebuildSubscriber.php |
Rebuilds the menu links and deletes the local_task cache tag. |
MenuRouterRebuildSubscriber::__construct |
function |
core/lib/Drupal/Core/EventSubscriber/MenuRouterRebuildSubscriber.php |
Constructs the MenuRouterRebuildSubscriber object. |
MenuRouterTest |
class |
core/modules/system/tests/src/Functional/Menu/MenuRouterTest.php |
Tests menu router and default menu link functionality. |
MenuRouterTest.php |
file |
core/modules/system/tests/src/Functional/Menu/MenuRouterTest.php |
|
MenuRouterTest::$adminTheme |
property |
core/modules/system/tests/src/Functional/Menu/MenuRouterTest.php |
Name of the administrative theme to use for tests. |
MenuRouterTest::$defaultTheme |
property |
core/modules/system/tests/src/Functional/Menu/MenuRouterTest.php |
The theme to install as the default for testing. |
MenuRouterTest::$modules |
property |
core/modules/system/tests/src/Functional/Menu/MenuRouterTest.php |
Modules to install. |
MenuRouterTest::doTestDescriptionMenuItems |
function |
core/modules/system/tests/src/Functional/Menu/MenuRouterTest.php |
Tests menu item descriptions. |
MenuRouterTest::doTestExoticPath |
function |
core/modules/system/tests/src/Functional/Menu/MenuRouterTest.php |
Tests path containing "exotic" characters. |
MenuRouterTest::doTestHookMenuIntegration |
function |
core/modules/system/tests/src/Functional/Menu/MenuRouterTest.php |
Tests local tasks with route placeholders. |
MenuRouterTest::doTestMenuHierarchy |
function |
core/modules/system/tests/src/Functional/Menu/MenuRouterTest.php |
Tests for menu hierarchy. |
MenuRouterTest::doTestMenuLinksDiscoveredAlter |
function |
core/modules/system/tests/src/Functional/Menu/MenuRouterTest.php |
Tests menu links added in hook_menu_links_discovered_alter(). |
MenuRouterTest::doTestMenuName |
function |
core/modules/system/tests/src/Functional/Menu/MenuRouterTest.php |
Tests for menu_name parameter for default menu links. |
MenuRouterTest::doTestMenuOnRoute |
function |
core/modules/system/tests/src/Functional/Menu/MenuRouterTest.php |
Tests a menu on a router page. |
MenuRouterTest::doTestMenuOptionalPlaceholders |
function |
core/modules/system/tests/src/Functional/Menu/MenuRouterTest.php |
Tests menu links that have optional placeholders. |
MenuRouterTest::doTestThemeCallbackAdministrative |
function |
core/modules/system/tests/src/Functional/Menu/MenuRouterTest.php |
Tests theme negotiation for an administrative theme. |
MenuRouterTest::doTestThemeCallbackFakeTheme |
function |
core/modules/system/tests/src/Functional/Menu/MenuRouterTest.php |
Tests the theme negotiation when it is set to use a theme that does not exist. |
MenuRouterTest::doTestThemeCallbackMaintenanceMode |
function |
core/modules/system/tests/src/Functional/Menu/MenuRouterTest.php |
Tests the theme negotiation when the site is in maintenance mode. |
MenuRouterTest::doTestThemeCallbackNoThemeRequested |
function |
core/modules/system/tests/src/Functional/Menu/MenuRouterTest.php |
Tests the theme negotiation when no theme is requested. |
MenuRouterTest::doTestThemeCallbackOptionalTheme |
function |
core/modules/system/tests/src/Functional/Menu/MenuRouterTest.php |
Tests the theme negotiation when it is set to use an optional theme. |
MenuRouterTest::doTestTitleCallbackFalse |
function |
core/modules/system/tests/src/Functional/Menu/MenuRouterTest.php |
Tests title callback set to FALSE. |
MenuRouterTest::doTestTitleMenuCallback |
function |
core/modules/system/tests/src/Functional/Menu/MenuRouterTest.php |
Tests page title of MENU_CALLBACKs. |
MenuRouterTest::setUp |
function |
core/modules/system/tests/src/Functional/Menu/MenuRouterTest.php |
|
MenuRouterTest::testAuthUserUserLogin |
function |
core/modules/system/tests/src/Functional/Menu/MenuRouterTest.php |
Tests authenticated user login redirects. |
MenuRouterTest::testMaintenanceModeLoginPaths |
function |
core/modules/system/tests/src/Functional/Menu/MenuRouterTest.php |
Make sure the maintenance mode can be bypassed using an EventSubscriber. |