Search for menu

  1. Search 7.x for menu
  2. Search 9.5.x for menu
  3. Search 8.9.x for menu
  4. Search 10.3.x for menu
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Menu class core/modules/system/src/Entity/Menu.php Defines the Menu configuration entity class.
Menu class core/modules/system/src/Plugin/migrate/source/Menu.php Drupal 6/7 menu source from database.

All search results

Title Object type File name Summary
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.
MenuRouterTest::testMenuIntegration function core/modules/system/tests/src/Functional/Menu/MenuRouterTest.php Tests menu integration.
MenuRouterTest::testThemeIntegration function core/modules/system/tests/src/Functional/Menu/MenuRouterTest.php Tests theme integration.
menus-and-lists.css file core/themes/claro/css/components/menus-and-lists.css /*
* DO NOT EDIT THIS FILE.
* See the following change record for more information,
* https://www.drupal.org/node/3084859
* @preserve
*/

/**
* Menus and lists.
*
* These classes are used in claro-toolbar-menu and any list items.
menus-and-lists.pcss.css file core/themes/claro/css/components/menus-and-lists.pcss.css /**
* Menus and lists.
*
* These classes are used in claro-toolbar-menu and any list items.
*/

.item-list,
.menu-item {
--item-list-spacing-l: var(--space-l);
--item-list-spacing-m: var(--space-m);
}

.item-list ul {
margin-block: 4px;
MenuSettingsConstraint class core/modules/menu_ui/src/Plugin/Validation/Constraint/MenuSettingsConstraint.php Validation constraint for changing the menu settings in pending revisions.
MenuSettingsConstraint.php file core/modules/menu_ui/src/Plugin/Validation/Constraint/MenuSettingsConstraint.php
MenuSettingsConstraint::$message property core/modules/menu_ui/src/Plugin/Validation/Constraint/MenuSettingsConstraint.php
MenuSettingsConstraint::$messageParent property core/modules/menu_ui/src/Plugin/Validation/Constraint/MenuSettingsConstraint.php
MenuSettingsConstraint::$messageRemove property core/modules/menu_ui/src/Plugin/Validation/Constraint/MenuSettingsConstraint.php
MenuSettingsConstraint::$messageWeight property core/modules/menu_ui/src/Plugin/Validation/Constraint/MenuSettingsConstraint.php
MenuSettingsConstraintValidator class core/modules/menu_ui/src/Plugin/Validation/Constraint/MenuSettingsConstraintValidator.php Constraint validator for changing the menu settings in pending revisions.
MenuSettingsConstraintValidator.php file core/modules/menu_ui/src/Plugin/Validation/Constraint/MenuSettingsConstraintValidator.php
MenuSettingsConstraintValidator::validate function core/modules/menu_ui/src/Plugin/Validation/Constraint/MenuSettingsConstraintValidator.php
MenuStorage class core/modules/system/src/MenuStorage.php Defines the storage class for menu configuration entities.
MenuStorage.php file core/modules/system/src/MenuStorage.php
MenuStorage::MAX_ID_LENGTH constant core/modules/system/src/MenuStorage.php Menu names have a maximum length of 32.
MenuStorageTest class core/modules/system/tests/src/Kernel/Menu/MenuStorageTest.php Tests MenuStorage.
MenuStorageTest.php file core/modules/system/tests/src/Kernel/Menu/MenuStorageTest.php
MenuStorageTest::$modules property core/modules/system/tests/src/Kernel/Menu/MenuStorageTest.php Modules to install.
MenuStorageTest::testMaxIdLengthException function core/modules/system/tests/src/Kernel/Menu/MenuStorageTest.php Tests MenuStorage::MAX_ID_LENGTH is enforced.
MenuTest class core/modules/system/tests/src/Kernel/Plugin/migrate/source/MenuTest.php Tests menu source plugin.
MenuTest class core/modules/migrate_drupal_ui/tests/modules/migrate_drupal_message_test/src/Plugin/migrate/source/MenuTest.php Source plugin with a source id removed from the array returned by fields().
MenuTest class core/modules/views/tests/src/Functional/Wizard/MenuTest.php Tests the ability of the views wizard to put views in a menu.
MenuTest class core/modules/jsonapi/tests/src/Functional/MenuTest.php JSON:API integration test for the "Menu" config entity type.
MenuTest.php file core/modules/jsonapi/tests/src/Functional/MenuTest.php
MenuTest.php file core/modules/views/tests/src/Functional/Wizard/MenuTest.php
MenuTest.php file core/modules/system/tests/src/Kernel/Plugin/migrate/source/MenuTest.php
MenuTest.php file core/modules/migrate_drupal_ui/tests/modules/migrate_drupal_message_test/src/Plugin/migrate/source/MenuTest.php

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.