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
NavigationMenuBlock::build function core/modules/navigation/src/Plugin/Block/NavigationMenuBlock.php Builds and returns the renderable array for this block plugin.
NavigationMenuBlock::calculateDependencies function core/modules/navigation/src/Plugin/Block/NavigationMenuBlock.php
NavigationMenuBlock::create function core/modules/navigation/src/Plugin/Block/NavigationMenuBlock.php Creates an instance of the plugin.
NavigationMenuBlock::defaultConfiguration function core/modules/navigation/src/Plugin/Block/NavigationMenuBlock.php
NavigationMenuBlock::getCacheContexts function core/modules/navigation/src/Plugin/Block/NavigationMenuBlock.php
NavigationMenuBlock::NAVIGATION_MAX_DEPTH constant core/modules/navigation/src/Plugin/Block/NavigationMenuBlock.php
NavigationMenuBlockTest class core/modules/navigation/tests/src/Kernel/NavigationMenuBlockTest.php Tests \Drupal\navigation\Plugin\Block\NavigationMenuBlock.
NavigationMenuBlockTest.php file core/modules/navigation/tests/src/Kernel/NavigationMenuBlockTest.php
NavigationMenuBlockTest::$blockManager property core/modules/navigation/tests/src/Kernel/NavigationMenuBlockTest.php The block manager service.
NavigationMenuBlockTest::$linkTree property core/modules/navigation/tests/src/Kernel/NavigationMenuBlockTest.php The menu link tree service.
NavigationMenuBlockTest::$menu property core/modules/navigation/tests/src/Kernel/NavigationMenuBlockTest.php The menu for testing.
NavigationMenuBlockTest::$menuLinkManager property core/modules/navigation/tests/src/Kernel/NavigationMenuBlockTest.php The menu link plugin manager service.
NavigationMenuBlockTest::$modules property core/modules/navigation/tests/src/Kernel/NavigationMenuBlockTest.php Modules to install.
NavigationMenuBlockTest::$navigationBlock property core/modules/navigation/tests/src/Kernel/NavigationMenuBlockTest.php The navigation block under test.
NavigationMenuBlockTest::convertBuiltMenuToIdTree function core/modules/navigation/tests/src/Kernel/NavigationMenuBlockTest.php Helper method to allow for easy menu link tree structure assertions.
NavigationMenuBlockTest::setUp function core/modules/navigation/tests/src/Kernel/NavigationMenuBlockTest.php
NavigationMenuBlockTest::testConfigLevelDepth function core/modules/navigation/tests/src/Kernel/NavigationMenuBlockTest.php Tests the config start level and depth.
NavigationMenuBlockTest::testHtmlMarkup function core/modules/navigation/tests/src/Kernel/NavigationMenuBlockTest.php Tests the generated HTML markup.
NavigationMenuBlockTest::testSystemMenuBlockConfigDependencies function core/modules/navigation/tests/src/Kernel/NavigationMenuBlockTest.php Tests calculation of a system navigation menu block's config dependencies.
NavigationMenuLinkTree class core/modules/navigation/src/Menu/NavigationMenuLinkTree.php Extends MenuLinkTree to add specific theme suggestions for the navigation.
NavigationMenuLinkTree.php file core/modules/navigation/src/Menu/NavigationMenuLinkTree.php
NavigationMenuLinkTree::build function core/modules/navigation/src/Menu/NavigationMenuLinkTree.php Builds a renderable array from a menu tree.
NavigationMenuMarkupTest class core/modules/navigation/tests/src/Kernel/NavigationMenuMarkupTest.php Tests \Drupal\navigation\Plugin\Block\NavigationMenuBlock.
NavigationMenuMarkupTest.php file core/modules/navigation/tests/src/Kernel/NavigationMenuMarkupTest.php
NavigationMenuMarkupTest::$blockManager property core/modules/navigation/tests/src/Kernel/NavigationMenuMarkupTest.php The block manager service.
NavigationMenuMarkupTest::$linkTree property core/modules/navigation/tests/src/Kernel/NavigationMenuMarkupTest.php The menu link tree service.
NavigationMenuMarkupTest::$menu property core/modules/navigation/tests/src/Kernel/NavigationMenuMarkupTest.php The menu for testing.
NavigationMenuMarkupTest::$menuLinkManager property core/modules/navigation/tests/src/Kernel/NavigationMenuMarkupTest.php The menu link plugin manager service.
NavigationMenuMarkupTest::$modules property core/modules/navigation/tests/src/Kernel/NavigationMenuMarkupTest.php Modules to install.
NavigationMenuMarkupTest::setUp function core/modules/navigation/tests/src/Kernel/NavigationMenuMarkupTest.php
NavigationMenuMarkupTest::testToolbarButtonAttributes function core/modules/navigation/tests/src/Kernel/NavigationMenuMarkupTest.php Tests the generated HTML markup.
navigation_menu_links_discovered_alter function core/modules/navigation/navigation.module Implements hook_menu_links_discovered_alter().
node.links.menu.yml file core/modules/node/node.links.menu.yml core/modules/node/node.links.menu.yml
NodeAccessMenuLinkTest class core/modules/node/tests/src/Functional/NodeAccessMenuLinkTest.php Tests the interaction of the node access system with menu links.
NodeAccessMenuLinkTest.php file core/modules/node/tests/src/Functional/NodeAccessMenuLinkTest.php
NodeAccessMenuLinkTest::$contentAdminUser property core/modules/node/tests/src/Functional/NodeAccessMenuLinkTest.php A user with permission to manage menu links and create nodes.
NodeAccessMenuLinkTest::$defaultTheme property core/modules/node/tests/src/Functional/NodeAccessMenuLinkTest.php The theme to install as the default for testing.
NodeAccessMenuLinkTest::$modules property core/modules/node/tests/src/Functional/NodeAccessMenuLinkTest.php Modules to install.
NodeAccessMenuLinkTest::setUp function core/modules/node/tests/src/Functional/NodeAccessMenuLinkTest.php
NodeAccessMenuLinkTest::testNodeAccessMenuLink function core/modules/node/tests/src/Functional/NodeAccessMenuLinkTest.php SA-CORE-2015-003: Tests menu links to nodes when node access is restricted.
NodeTypeValidationTest::testThirdPartySettingsMenuUi function core/modules/node/tests/src/Kernel/NodeTypeValidationTest.php @testWith [true, {"third_party_settings.menu_ui": "'parent' is a required key."}]
[false, {}]
node_translation_menu_links.yml file core/modules/content_translation/migrations/node_translation_menu_links.yml core/modules/content_translation/migrations/node_translation_menu_links.yml
olivero_preprocess_menu function core/themes/olivero/olivero.theme Implements hook_preprocess_HOOK().
olivero_preprocess_menu_local_task function core/themes/olivero/olivero.theme Implements hook_preprocess_HOOK() for menu-local-task templates.
olivero_preprocess_menu_local_tasks function core/themes/olivero/olivero.theme Implements hook_preprocess_HOOK() for menu-local-tasks templates.
olivero_test.links.menu.yml file core/modules/system/tests/modules/olivero_test/olivero_test.links.menu.yml core/modules/system/tests/modules/olivero_test/olivero_test.links.menu.yml
olivero_theme_suggestions_menu_alter function core/themes/olivero/olivero.theme Implements hook_theme_suggestions_HOOK_alter() for menu.
Page::$menuStorage property core/modules/views/src/Plugin/views/display/Page.php The menu storage.
path.links.menu.yml file core/modules/path/path.links.menu.yml core/modules/path/path.links.menu.yml
PathAliasMenuLinkContentTest class core/modules/menu_link_content/tests/src/Kernel/PathAliasMenuLinkContentTest.php Ensures that the menu tree adapts to path alias changes.

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