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
AccessCheck::menuLocalAction7 function core/modules/system/tests/modules/menu_test/src/Access/AccessCheck.php
AccessCheck::menuLocalAction8 function core/modules/system/tests/modules/menu_test/src/Access/AccessCheck.php
AccessRouteAlterSubscriber::accessAdminMenuBlockPage function core/modules/system/src/EventSubscriber/AccessRouteAlterSubscriber.php Adds requirements to some System Controller routes.
access_check.admin_menu_block_page service core/modules/system/system.services.yml Drupal\system\Access\SystemAdminMenuBlockAccessCheck
access_check.menu_test_session service core/modules/system/tests/modules/menu_test/menu_test.services.yml Drupal\menu_test\Access\AccessCheck
action.links.menu.yml file core/modules/action/action.links.menu.yml core/modules/action/action.links.menu.yml
add-menu-block-with-zero-depth.php file core/modules/block/tests/fixtures/update/add-menu-block-with-zero-depth.php Adds a menu block with a `depth` setting of 0.
AdminTest::getTopLevelMenuLinks function core/modules/system/tests/src/Functional/System/AdminTest.php Returns all top level menu links.
AliasPrefixList::loadMenuPathRoots function core/modules/path_alias/src/AliasPrefixList.php Loads menu path roots to prepopulate cache.
announcements_feed.links.menu.yml file core/modules/announcements_feed/announcements_feed.links.menu.yml core/modules/announcements_feed/announcements_feed.links.menu.yml
ArgumentPluginBase::validateMenuArgument function core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php Called by the menu system to validate an argument.
AssertMenuActiveTrailTrait trait core/modules/system/tests/src/Functional/Menu/AssertMenuActiveTrailTrait.php Provides test assertions for verifying the active menu trail.
AssertMenuActiveTrailTrait.php file core/modules/system/tests/src/Functional/Menu/AssertMenuActiveTrailTrait.php
AssertMenuActiveTrailTrait::assertMenuActiveTrail function core/modules/system/tests/src/Functional/Menu/AssertMenuActiveTrailTrait.php Assert that active trail exists in a menu tree output.
ban.links.menu.yml file core/modules/ban/ban.links.menu.yml core/modules/ban/ban.links.menu.yml
block--primary-menu--plugin-id--search-form-block.html.twig file core/themes/olivero/templates/block/block--primary-menu--plugin-id--search-form-block.html.twig Olivero's theme implementation for a search form block in the Primary Menu region.
block--secondary-menu--plugin-id--search-form-block.html.twig file core/themes/olivero/templates/block/block--secondary-menu--plugin-id--search-form-block.html.twig Theme implementation for a search form block in the Secondary Menu region.
block--secondary-menu.html.twig file core/themes/olivero/templates/block/block--secondary-menu.html.twig Olivero's override for the User Account Menu navigation block.
block--system-menu-block--footer.html.twig file core/profiles/demo_umami/themes/umami/templates/components/navigation/block--system-menu-block--footer.html.twig Theme override for Menu footer block.
block--system-menu-block.html.twig file core/modules/system/templates/block--system-menu-block.html.twig Default theme implementation for a menu block.
block--system-menu-block.html.twig file core/themes/claro/templates/classy/block/block--system-menu-block.html.twig Theme override for a menu block.
block--system-menu-block.html.twig file core/themes/stable9/templates/block/block--system-menu-block.html.twig Theme override for a menu block.
block--system-menu-block.html.twig file core/themes/olivero/templates/block/block--system-menu-block.html.twig Olivero's override for the main menu navigation block.
block--system-menu-block.html.twig file core/themes/starterkit_theme/templates/block/block--system-menu-block.html.twig Theme override for a menu block.
block--system-menu-block.html.twig file core/profiles/demo_umami/themes/umami/templates/classy/block/block--system-menu-block.html.twig Theme override for a menu block.
block.block.olivero_account_menu.yml file core/themes/olivero/config/optional/block.block.olivero_account_menu.yml core/themes/olivero/config/optional/block.block.olivero_account_menu.yml
block.block.olivero_main_menu.yml file core/themes/olivero/config/optional/block.block.olivero_main_menu.yml core/themes/olivero/config/optional/block.block.olivero_main_menu.yml
block.block.testing_theme_required_blocks_account_menu.yml file core/profiles/testing_themes_blocks/themes/testing_theme_required_blocks/config/install/block.block.testing_theme_required_blocks_account_menu.yml core/profiles/testing_themes_blocks/themes/testing_theme_required_blocks/config/install/block.block.testing_theme_required_blocks_account_menu.yml
block.block.testing_theme_required_blocks_account_menu.yml file core/profiles/tests/testing_themes_blocks/themes/testing_theme_required_blocks/config/install/block.block.testing_theme_required_blocks_account_menu.yml core/profiles/tests/testing_themes_blocks/themes/testing_theme_required_blocks/config/install/block.block.testing_theme_required_blocks_account_menu.yml
block.block.umami_account_menu.yml file core/profiles/demo_umami/config/install/block.block.umami_account_menu.yml core/profiles/demo_umami/config/install/block.block.umami_account_menu.yml
block.block.umami_main_menu.yml file core/profiles/demo_umami/config/install/block.block.umami_main_menu.yml core/profiles/demo_umami/config/install/block.block.umami_main_menu.yml
block.links.menu.yml file core/modules/block/block.links.menu.yml core/modules/block/block.links.menu.yml
BlockHooks::menuDelete function core/modules/block/src/Hook/BlockHooks.php Implements hook_ENTITY_TYPE_delete() for menu entities.
BlockValidationTest::providerMenuBlockLevelAndDepth function core/modules/block/tests/src/Kernel/BlockValidationTest.php Data provider for ::testMenuBlockLevelAndDepth().
BlockValidationTest::testMenuBlockLevelAndDepth function core/modules/block/tests/src/Kernel/BlockValidationTest.php Tests validating menu block `level` and `depth` settings.
BlockXssTest::doMenuTest function core/modules/block/tests/src/Functional/BlockXssTest.php Tests XSS coming from Menu block labels.
block_content.links.menu.yml file core/modules/block_content/block_content.links.menu.yml core/modules/block_content/block_content.links.menu.yml
block_post_update_set_menu_block_depth_to_null_if_zero function core/modules/block/block.post_update.php Updates the `depth` setting to NULL if it is 0 in any menu blocks.
book.links.menu.yml file core/modules/book/book.links.menu.yml core/modules/book/book.links.menu.yml
BookOutlineStorage::getBookMenuTree function core/modules/book/src/BookOutlineStorage.php
BookOutlineStorageInterface::getBookMenuTree function core/modules/book/src/BookOutlineStorageInterface.php Builds tree data used for the menu tree.
ClaroMenuUiJavascriptTest class core/tests/Drupal/FunctionalJavascriptTests/Theme/ClaroMenuUiJavascriptTest.php Runs MenuUiJavascriptTest in Claro.
ClaroMenuUiJavascriptTest.php file core/tests/Drupal/FunctionalJavascriptTests/Theme/ClaroMenuUiJavascriptTest.php
ClaroMenuUiJavascriptTest::$modules property core/tests/Drupal/FunctionalJavascriptTests/Theme/ClaroMenuUiJavascriptTest.php Modules to install.
ClaroMenuUiJavascriptTest::setUp function core/tests/Drupal/FunctionalJavascriptTests/Theme/ClaroMenuUiJavascriptTest.php
ClaroMenuUiJavascriptTest::testBlockContextualLinks function core/tests/Drupal/FunctionalJavascriptTests/Theme/ClaroMenuUiJavascriptTest.php Intentionally empty method.
claro_form_menu_link_content_form_alter function core/themes/claro/claro.theme Implements hook_form_BASE_FORM_ID_alter() for MenuLinkContentForm.
claro_form_menu_link_edit_alter function core/themes/claro/claro.theme Implements hook_form_FORM_ID_alter() for MenuLinkEditForm.
claro_preprocess_links__media_library_menu function core/themes/claro/claro.theme Implements hook_preprocess_links__media_library_menu().
claro_preprocess_menu_local_action function core/themes/claro/claro.theme Implements hook_preprocess_HOOK() for menu-local-action templates.

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