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
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.
NavigationMenuLinkTree::transform function core/modules/navigation/src/Menu/NavigationMenuLinkTree.php
NavigationMenuLinkTree::__construct function core/modules/navigation/src/Menu/NavigationMenuLinkTree.php Constructs a \Drupal\navigation\Menu\NavigationMenuLinkTree object.
NavigationMenuLinkTreeTest class core/modules/navigation/tests/src/Kernel/NavigationMenuLinkTreeTest.php Tests \Drupal\navigation\Menu\NavigationMenuLinkTree.
NavigationMenuLinkTreeTest.php file core/modules/navigation/tests/src/Kernel/NavigationMenuLinkTreeTest.php
NavigationMenuLinkTreeTest::$linkTree property core/modules/navigation/tests/src/Kernel/NavigationMenuLinkTreeTest.php The tested navigation menu link tree.
NavigationMenuLinkTreeTest::$modules property core/modules/navigation/tests/src/Kernel/NavigationMenuLinkTreeTest.php
NavigationMenuLinkTreeTest::setUp function core/modules/navigation/tests/src/Kernel/NavigationMenuLinkTreeTest.php
NavigationMenuLinkTreeTest::testNavigationMenuLinkTreeAlter function core/modules/navigation/tests/src/Kernel/NavigationMenuLinkTreeTest.php Tests the hook_navigation_menu_link_tree_alter logic.
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.
NavigationTestHooks::navigationMenuLinkTreeAlter function core/modules/navigation/tests/navigation_test/src/Hook/NavigationTestHooks.php Implements hook_navigation_menu_link_tree_alter().
NavigationUserBlock::NAVIGATION_LINKS_MENU constant core/modules/navigation/src/Plugin/Block/NavigationUserBlock.php
navigation_post_update_navigation_user_links_menu function core/modules/navigation/navigation.post_update.php Creates the Navigation user links menu.
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.

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