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
DefaultMenuLinkTreeManipulatorsTest::mockTree function core/tests/Drupal/Tests/Core/Menu/DefaultMenuLinkTreeManipulatorsTest.php Creates a mock tree.
DefaultMenuLinkTreeManipulatorsTest::setUp function core/tests/Drupal/Tests/Core/Menu/DefaultMenuLinkTreeManipulatorsTest.php
DefaultMenuLinkTreeManipulatorsTest::testCheckAccess function core/tests/Drupal/Tests/Core/Menu/DefaultMenuLinkTreeManipulatorsTest.php Tests the checkAccess() tree manipulator.
DefaultMenuLinkTreeManipulatorsTest::testCheckAccessTreeManipulator function core/tests/Drupal/Tests/Core/Menu/DefaultMenuLinkTreeManipulatorsTest.php Tests checkAccess() tree manipulator.
DefaultMenuLinkTreeManipulatorsTest::testCheckNodeAccess function core/tests/Drupal/Tests/Core/Menu/DefaultMenuLinkTreeManipulatorsTest.php Tests the optimized node access checking.
DefaultMenuLinkTreeManipulatorsTest::testFlatten function core/tests/Drupal/Tests/Core/Menu/DefaultMenuLinkTreeManipulatorsTest.php Tests the flatten() tree manipulator.
DefaultMenuLinkTreeManipulatorsTest::testGenerateIndexAndSort function core/tests/Drupal/Tests/Core/Menu/DefaultMenuLinkTreeManipulatorsTest.php Tests the generateIndexAndSort() tree manipulator.
demo_umami.links.menu.yml file core/profiles/demo_umami/demo_umami.links.menu.yml core/profiles/demo_umami/demo_umami.links.menu.yml
DisplayMenuInterface interface core/modules/views/src/Plugin/views/display/DisplayMenuInterface.php Defines an interface for displays that provide menu links.
DisplayMenuInterface.php file core/modules/views/src/Plugin/views/display/DisplayMenuInterface.php
DisplayMenuInterface::getMenuLinks function core/modules/views/src/Plugin/views/display/DisplayMenuInterface.php Gets menu links, if this display provides some.
DisplayPageTest::testMenuLinks function core/modules/views/tests/src/Kernel/Plugin/DisplayPageTest.php Tests the generated menu links of views.
DisplayPageWebTest::testPageDisplayMenu function core/modules/views/tests/src/Functional/Plugin/DisplayPageWebTest.php Tests menu settings of page displays.
DisplayPathTest::testDefaultMenuTabRegression function core/modules/views_ui/tests/src/Functional/DisplayPathTest.php Tests the regression in https://www.drupal.org/node/2532490.
DisplayPathTest::testMenuOptions function core/modules/views_ui/tests/src/Functional/DisplayPathTest.php Tests the menu and tab option form.
Drupal::menuTree function core/lib/Drupal.php Returns the menu tree.
DrupalTest::testMenuTree function core/tests/Drupal/Tests/Core/DrupalTest.php Tests the menuTree() method.
Drupal\menu_ui\Menu\MenuUiMenuTreeManipulators service core/modules/menu_ui/menu_ui.services.yml
Drupal\system\Routing\MenuLinksetRoutes service core/modules/system/system.services.yml
DynamicMenuLinkMock class core/tests/Drupal/Tests/Core/Menu/DynamicMenuLinkMock.php Defines a mock implementation of a dynamic menu link used in tests only.
DynamicMenuLinkMock.php file core/tests/Drupal/Tests/Core/Menu/DynamicMenuLinkMock.php
DynamicMenuLinkMock::$currentUser property core/tests/Drupal/Tests/Core/Menu/DynamicMenuLinkMock.php The current user.
DynamicMenuLinkMock::getCacheContexts function core/tests/Drupal/Tests/Core/Menu/DynamicMenuLinkMock.php The cache contexts associated with this object.
DynamicMenuLinkMock::getRouteName function core/tests/Drupal/Tests/Core/Menu/DynamicMenuLinkMock.php Returns the route name, if available.
DynamicMenuLinkMock::getTitle function core/tests/Drupal/Tests/Core/Menu/DynamicMenuLinkMock.php Returns the localized title to be shown for this link.
DynamicMenuLinkMock::setCurrentUser function core/tests/Drupal/Tests/Core/Menu/DynamicMenuLinkMock.php Sets the current user.
editor_menu_links_discovered_alter function core/modules/editor/editor.module Implements hook_menu_links_discovered_alter().
field_ui.links.menu.yml file core/modules/field_ui/field_ui.links.menu.yml core/modules/field_ui/field_ui.links.menu.yml
filter.links.menu.yml file core/modules/filter/filter.links.menu.yml core/modules/filter/filter.links.menu.yml
forum.links.menu.yml file core/modules/forum/forum.links.menu.yml core/modules/forum/forum.links.menu.yml
help.links.menu.yml file core/modules/help/help.links.menu.yml core/modules/help/help.links.menu.yml
hook_menu_links_discovered_alter function core/lib/Drupal/Core/Menu/menu.api.php Alters all the menu links discovered by the menu link plugin manager.
hook_menu_local_actions_alter function core/lib/Drupal/Core/Menu/menu.api.php Alter local actions plugins.
hook_menu_local_tasks_alter function core/lib/Drupal/Core/Menu/menu.api.php Alter local tasks displayed on the page before they are rendered.
image.links.menu.yml file core/modules/image/image.links.menu.yml core/modules/image/image.links.menu.yml
InaccessibleMenuLink class core/lib/Drupal/Core/Menu/InaccessibleMenuLink.php A menu link plugin for wrapping another menu link, in sensitive situations.
InaccessibleMenuLink.php file core/lib/Drupal/Core/Menu/InaccessibleMenuLink.php
InaccessibleMenuLink::$wrappedLink property core/lib/Drupal/Core/Menu/InaccessibleMenuLink.php The wrapped menu link.
InaccessibleMenuLink::getCacheContexts function core/lib/Drupal/Core/Menu/InaccessibleMenuLink.php The cache contexts associated with this object.
InaccessibleMenuLink::getCacheMaxAge function core/lib/Drupal/Core/Menu/InaccessibleMenuLink.php The maximum age for which this object may be cached.
InaccessibleMenuLink::getCacheTags function core/lib/Drupal/Core/Menu/InaccessibleMenuLink.php The cache tags associated with this object.
InaccessibleMenuLink::getDescription function core/lib/Drupal/Core/Menu/InaccessibleMenuLink.php Returns the description of the menu link.
InaccessibleMenuLink::getTitle function core/lib/Drupal/Core/Menu/InaccessibleMenuLink.php Returns the localized title to be shown for this link.
InaccessibleMenuLink::updateLink function core/lib/Drupal/Core/Menu/InaccessibleMenuLink.php Updates the definition values for a menu link.
InaccessibleMenuLink::__construct function core/lib/Drupal/Core/Menu/InaccessibleMenuLink.php Constructs a new InaccessibleMenuLink.
jsonapi.links.menu.yml file core/modules/jsonapi/jsonapi.links.menu.yml core/modules/jsonapi/jsonapi.links.menu.yml
language.links.menu.yml file core/modules/language/language.links.menu.yml core/modules/language/language.links.menu.yml
layout_builder.links.menu.yml file core/modules/layout_builder/layout_builder.links.menu.yml core/modules/layout_builder/layout_builder.links.menu.yml
lazy_route_provider_install_test_menu_links_discovered_alter function core/modules/system/tests/modules/lazy_route_provider_install_test/lazy_route_provider_install_test.module Implements hook_menu_links_discovered_alter().
links--media-library-menu.html.twig file core/profiles/demo_umami/themes/umami/templates/classy/media-library/links--media-library-menu.html.twig Theme implementation of the media type menu in the media library dialog.

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