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 11.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
MigrateMenuSettingsTest::testMigration function core/modules/menu_ui/tests/src/Kernel/Migrate/MigrateMenuSettingsTest.php
MigrateMenuTest class core/modules/system/tests/src/Kernel/Migrate/d6/MigrateMenuTest.php Upgrade menus to system.menu.*.yml.
MigrateMenuTest class core/modules/system/tests/src/Kernel/Migrate/d7/MigrateMenuTest.php Upgrade menus to system.menu.*.yml.
MigrateMenuTest.php file core/modules/system/tests/src/Kernel/Migrate/d6/MigrateMenuTest.php
MigrateMenuTest.php file core/modules/system/tests/src/Kernel/Migrate/d7/MigrateMenuTest.php
MigrateMenuTest::assertEntity function core/modules/system/tests/src/Kernel/Migrate/d7/MigrateMenuTest.php Asserts various aspects of a menu.
MigrateMenuTest::setUp function core/modules/system/tests/src/Kernel/Migrate/d6/MigrateMenuTest.php
MigrateMenuTest::setUp function core/modules/system/tests/src/Kernel/Migrate/d7/MigrateMenuTest.php
MigrateMenuTest::testMenu function core/modules/system/tests/src/Kernel/Migrate/d6/MigrateMenuTest.php Tests the Drupal 6 menu to Drupal 8 migration.
MigrateMenuTest::testMenu function core/modules/system/tests/src/Kernel/Migrate/d7/MigrateMenuTest.php Tests the Drupal 7 menu to Drupal 8 migration.
MigrateMenuTranslationTest class core/modules/system/tests/src/Kernel/Migrate/d7/MigrateMenuTranslationTest.php Tests menu translation migration.
MigrateMenuTranslationTest.php file core/modules/system/tests/src/Kernel/Migrate/d7/MigrateMenuTranslationTest.php
MigrateMenuTranslationTest::$modules property core/modules/system/tests/src/Kernel/Migrate/d7/MigrateMenuTranslationTest.php Modules to install.
MigrateMenuTranslationTest::setUp function core/modules/system/tests/src/Kernel/Migrate/d7/MigrateMenuTranslationTest.php
MigrateMenuTranslationTest::testMenuTranslation function core/modules/system/tests/src/Kernel/Migrate/d7/MigrateMenuTranslationTest.php Tests migration of menu translations.
migrate_drupal_ui.links.menu.yml file core/modules/migrate_drupal_ui/migrate_drupal_ui.links.menu.yml core/modules/migrate_drupal_ui/migrate_drupal_ui.links.menu.yml
MockMenuBlock class core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockMenuBlock.php Mock implementation of a menu block plugin used by Plugin API unit tests.
MockMenuBlock.php file core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockMenuBlock.php
MockMenuBlock::$depth property core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockMenuBlock.php The number of menu levels deep to render.
MockMenuBlock::$title property core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockMenuBlock.php The title to display when rendering this block instance.
MockMenuBlock::getContent function core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockMenuBlock.php Returns the content to display.
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 %}
{% set menu_heading_id = 'menu--' ~ menu_name|clean_unique_id %}
<div class="admin-toolbar__item">
<h4 id="{{ menu_heading_id }}" class="toolbar-block__title visually-hidden…
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.
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.

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