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
MockMenuBlock::__construct function core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockMenuBlock.php
MockMenuBlockDeriver class core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockMenuBlockDeriver.php Mock implementation of DeriverInterface for the mock menu block plugin.
MockMenuBlockDeriver.php file core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockMenuBlockDeriver.php
MockMenuBlockDeriver::getDerivativeDefinition function core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockMenuBlockDeriver.php Gets the definition of a derivative plugin.
MockMenuBlockDeriver::getDerivativeDefinitions function core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockMenuBlockDeriver.php Gets the definition of all derivatives of a base plugin.
ModuleAdminLinksHelper::ADMIN_LINKS_MENU_TREE constant core/modules/system/src/ModuleAdminLinksHelper.php The cache key for the menu tree.
navigation-menu.html.twig file core/modules/navigation/templates/navigation-menu.html.twig {% import _self as menus %}
<div class="admin-toolbar__item">
<h4 class="visually-hidden focusable">{{ title }}</h4>
<ul class="toolbar-block__list">
{{ menus.menu_items(items, attributes,…
navigation.links.menu.yml file core/modules/navigation/navigation.links.menu.yml core/modules/navigation/navigation.links.menu.yml
navigation.menu_tree service core/modules/navigation/navigation.services.yml Drupal\navigation\Menu\NavigationMenuLinkTree
NavigationContentLinks::addMenuLinks function core/modules/navigation/src/NavigationContentLinks.php Add links to the Content menu, based on enabled modules.
NavigationHooks::menuLinksDiscoveredAlter function core/modules/navigation/src/Hook/NavigationHooks.php Implements hook_menu_links_discovered_alter().
NavigationMenuBlock class core/modules/navigation/src/Plugin/Block/NavigationMenuBlock.php Provides a generic menu navigation block.
NavigationMenuBlock.php file core/modules/navigation/src/Plugin/Block/NavigationMenuBlock.php
NavigationMenuBlock::blockForm function core/modules/navigation/src/Plugin/Block/NavigationMenuBlock.php
NavigationMenuBlock::blockSubmit function core/modules/navigation/src/Plugin/Block/NavigationMenuBlock.php
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.
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.

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