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
MenuActiveTrail::reset function core/lib/Drupal/Core/ProxyClass/Menu/MenuActiveTrail.php Resets the local cache.
MenuActiveTrail::resolveCacheMiss function core/lib/Drupal/Core/Menu/MenuActiveTrail.php
MenuActiveTrail::set function core/lib/Drupal/Core/ProxyClass/Menu/MenuActiveTrail.php Sets cache data.
MenuActiveTrail::__construct function core/lib/Drupal/Core/ProxyClass/Menu/MenuActiveTrail.php Constructs a ProxyClass Drupal proxy object.
MenuActiveTrail::__construct function core/lib/Drupal/Core/Menu/MenuActiveTrail.php Constructs a \Drupal\Core\Menu\MenuActiveTrail object.
MenuActiveTrailInterface interface core/lib/Drupal/Core/Menu/MenuActiveTrailInterface.php Defines an interface for the active menu trail service.
MenuActiveTrailInterface.php file core/lib/Drupal/Core/Menu/MenuActiveTrailInterface.php
MenuActiveTrailInterface::getActiveLink function core/lib/Drupal/Core/Menu/MenuActiveTrailInterface.php Fetches a menu link which matches the route name, parameters and menu name.
MenuActiveTrailInterface::getActiveTrailIds function core/lib/Drupal/Core/Menu/MenuActiveTrailInterface.php Gets the active trail IDs of the specified menu tree.
MenuActiveTrailsCacheContext class core/lib/Drupal/Core/Cache/Context/MenuActiveTrailsCacheContext.php Defines the MenuActiveTrailsCacheContext service.
MenuActiveTrailsCacheContext.php file core/lib/Drupal/Core/Cache/Context/MenuActiveTrailsCacheContext.php
MenuActiveTrailsCacheContext::getCacheableMetadata function core/lib/Drupal/Core/Cache/Context/MenuActiveTrailsCacheContext.php Gets the cacheability metadata for the context based on the parameter value.
MenuActiveTrailsCacheContext::getContext function core/lib/Drupal/Core/Cache/Context/MenuActiveTrailsCacheContext.php Returns the string representation of the cache context.
MenuActiveTrailsCacheContext::getLabel function core/lib/Drupal/Core/Cache/Context/MenuActiveTrailsCacheContext.php Returns the label of the cache context.
MenuActiveTrailsCacheContext::__construct function core/lib/Drupal/Core/Cache/Context/MenuActiveTrailsCacheContext.php Constructs a MenuActiveTrailsCacheContext object.
MenuActiveTrailTest class core/tests/Drupal/Tests/Core/Menu/MenuActiveTrailTest.php Tests the active menu trail service.
MenuActiveTrailTest.php file core/tests/Drupal/Tests/Core/Menu/MenuActiveTrailTest.php
MenuActiveTrailTest::$cache property core/tests/Drupal/Tests/Core/Menu/MenuActiveTrailTest.php The mocked cache backend.
MenuActiveTrailTest::$currentRouteMatch property core/tests/Drupal/Tests/Core/Menu/MenuActiveTrailTest.php The current route match service.
MenuActiveTrailTest::$lock property core/tests/Drupal/Tests/Core/Menu/MenuActiveTrailTest.php The mocked lock.
MenuActiveTrailTest::$menuActiveTrail property core/tests/Drupal/Tests/Core/Menu/MenuActiveTrailTest.php The tested active menu trail service.
MenuActiveTrailTest::$menuLinkManager property core/tests/Drupal/Tests/Core/Menu/MenuActiveTrailTest.php The mocked menu link manager.
MenuActiveTrailTest::$requestStack property core/tests/Drupal/Tests/Core/Menu/MenuActiveTrailTest.php The test request stack.
MenuActiveTrailTest::provider function core/tests/Drupal/Tests/Core/Menu/MenuActiveTrailTest.php Provides test data for all test methods.
MenuActiveTrailTest::setUp function core/tests/Drupal/Tests/Core/Menu/MenuActiveTrailTest.php
MenuActiveTrailTest::testGetActiveLink function core/tests/Drupal/Tests/Core/Menu/MenuActiveTrailTest.php Tests getActiveLink().
MenuActiveTrailTest::testGetActiveTrailIds function core/tests/Drupal/Tests/Core/Menu/MenuActiveTrailTest.php Tests getActiveTrailIds().
MenuActiveTrailTest::testGetCid function core/tests/Drupal/Tests/Core/Menu/MenuActiveTrailTest.php Tests getCid()
MenuBlockTest class core/modules/menu_ui/tests/src/Kernel/MenuBlockTest.php Tests SystemMenuBlock.
MenuBlockTest.php file core/modules/menu_ui/tests/src/Kernel/MenuBlockTest.php
MenuBlockTest::$menu property core/modules/menu_ui/tests/src/Kernel/MenuBlockTest.php The menu for testing.
MenuBlockTest::$modules property core/modules/menu_ui/tests/src/Kernel/MenuBlockTest.php Modules to install.
MenuBlockTest::setUp function core/modules/menu_ui/tests/src/Kernel/MenuBlockTest.php
MenuBlockTest::testOperationLinks function core/modules/menu_ui/tests/src/Kernel/MenuBlockTest.php Tests the editing links for SystemMenuBlock.
MenuCacheTagsTest class core/modules/menu_ui/tests/src/Functional/MenuCacheTagsTest.php Tests the Menu and Menu Link entities' cache tags.
MenuCacheTagsTest.php file core/modules/menu_ui/tests/src/Functional/MenuCacheTagsTest.php
MenuCacheTagsTest::$defaultTheme property core/modules/menu_ui/tests/src/Functional/MenuCacheTagsTest.php The theme to install as the default for testing.
MenuCacheTagsTest::$modules property core/modules/menu_ui/tests/src/Functional/MenuCacheTagsTest.php Modules to install.
MenuCacheTagsTest::testMenuBlock function core/modules/menu_ui/tests/src/Functional/MenuCacheTagsTest.php Tests cache tags presence and invalidation of the Menu entity.
MenuController class core/modules/menu_ui/src/Controller/MenuController.php Returns responses for Menu routes.
MenuController class core/modules/menu_link_content/src/Controller/MenuController.php Defines a route controller for a form for menu link content entity creation.
MenuController.php file core/modules/menu_link_content/src/Controller/MenuController.php
MenuController.php file core/modules/menu_ui/src/Controller/MenuController.php
MenuController::$menuParentSelector property core/modules/menu_ui/src/Controller/MenuController.php The menu parent form service.
MenuController::addLink function core/modules/menu_link_content/src/Controller/MenuController.php Provides the menu link creation form.
MenuController::getParentOptions function core/modules/menu_ui/src/Controller/MenuController.php Gets all the available menus and menu items as a JavaScript array.
MenuController::menuTitle function core/modules/menu_ui/src/Controller/MenuController.php Route title callback.
MenuController::__construct function core/modules/menu_ui/src/Controller/MenuController.php Creates a new MenuController object.
MenuDeleteForm class core/modules/menu_ui/src/Form/MenuDeleteForm.php Defines a confirmation form for deletion of a custom menu.
MenuDeleteForm.php file core/modules/menu_ui/src/Form/MenuDeleteForm.php

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