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
MenuAccessTest::setUp function core/modules/system/tests/src/Functional/Menu/MenuAccessTest.php
MenuAccessTest::testMenuBlockLinksAccessCheck function core/modules/system/tests/src/Functional/Menu/MenuAccessTest.php Tests menu link for route with access check.
MenuAccessTest::testSystemAdminMenuBlockAccessCheck function core/modules/system/tests/src/Functional/Menu/MenuAccessTest.php Test routes implementing _access_admin_menu_block_page.
MenuActiveTrail class core/lib/Drupal/Core/ProxyClass/Menu/MenuActiveTrail.php Provides a proxy class for \Drupal\Core\Menu\MenuActiveTrail.
MenuActiveTrail class core/lib/Drupal/Core/Menu/MenuActiveTrail.php Provides the default implementation of the active menu trail service.
MenuActiveTrail.php file core/lib/Drupal/Core/Menu/MenuActiveTrail.php
MenuActiveTrail.php file core/lib/Drupal/Core/ProxyClass/Menu/MenuActiveTrail.php
MenuActiveTrail403Test class core/tests/Drupal/FunctionalTests/Menu/MenuActiveTrail403Test.php Tests that 403 active trail behavior does not overwrite original entry.
MenuActiveTrail403Test.php file core/tests/Drupal/FunctionalTests/Menu/MenuActiveTrail403Test.php
MenuActiveTrail403Test::$defaultTheme property core/tests/Drupal/FunctionalTests/Menu/MenuActiveTrail403Test.php
MenuActiveTrail403Test::$menu property core/tests/Drupal/FunctionalTests/Menu/MenuActiveTrail403Test.php The menu which active trail is tested.
MenuActiveTrail403Test::$modules property core/tests/Drupal/FunctionalTests/Menu/MenuActiveTrail403Test.php
MenuActiveTrail403Test::$privilegedUser property core/tests/Drupal/FunctionalTests/Menu/MenuActiveTrail403Test.php A user who can access both routes in our menu.
MenuActiveTrail403Test::setUp function core/tests/Drupal/FunctionalTests/Menu/MenuActiveTrail403Test.php
MenuActiveTrail403Test::testMenuActiveTrail403Cache function core/tests/Drupal/FunctionalTests/Menu/MenuActiveTrail403Test.php Tests that visiting 403 page does not override original active trail.
MenuActiveTrail::$container property core/lib/Drupal/Core/ProxyClass/Menu/MenuActiveTrail.php The service container.
MenuActiveTrail::$drupalProxyOriginalServiceId property core/lib/Drupal/Core/ProxyClass/Menu/MenuActiveTrail.php The id of the original proxied service.
MenuActiveTrail::$menuLinkManager property core/lib/Drupal/Core/Menu/MenuActiveTrail.php The menu link plugin manager.
MenuActiveTrail::$routeMatch property core/lib/Drupal/Core/Menu/MenuActiveTrail.php The route match object for the current page.
MenuActiveTrail::$service property core/lib/Drupal/Core/ProxyClass/Menu/MenuActiveTrail.php The real proxied service, after it was lazy loaded.
MenuActiveTrail::clear function core/lib/Drupal/Core/ProxyClass/Menu/MenuActiveTrail.php Clears the collected cache entry.
MenuActiveTrail::delete function core/lib/Drupal/Core/ProxyClass/Menu/MenuActiveTrail.php Deletes the element.
MenuActiveTrail::destruct function core/lib/Drupal/Core/ProxyClass/Menu/MenuActiveTrail.php Performs destruct operations.
MenuActiveTrail::doGetActiveTrailIds function core/lib/Drupal/Core/Menu/MenuActiveTrail.php Helper method for ::getActiveTrailIds().
MenuActiveTrail::get function core/lib/Drupal/Core/ProxyClass/Menu/MenuActiveTrail.php Gets value from the cache.
MenuActiveTrail::getActiveLink function core/lib/Drupal/Core/ProxyClass/Menu/MenuActiveTrail.php Fetches a menu link which matches the route name, parameters and menu name.
MenuActiveTrail::getActiveLink function core/lib/Drupal/Core/Menu/MenuActiveTrail.php Fetches a menu link which matches the route name, parameters and menu name.
MenuActiveTrail::getActiveTrailIds function core/lib/Drupal/Core/Menu/MenuActiveTrail.php This implementation caches all active trail IDs per route match for *all*
menus whose active trails are calculated on that page. This ensures 1 cache
get for all active trails per page load, rather than N.
MenuActiveTrail::getActiveTrailIds function core/lib/Drupal/Core/ProxyClass/Menu/MenuActiveTrail.php Gets the active trail IDs of the specified menu tree.
MenuActiveTrail::getCid function core/lib/Drupal/Core/Menu/MenuActiveTrail.php
MenuActiveTrail::has function core/lib/Drupal/Core/ProxyClass/Menu/MenuActiveTrail.php Returns whether data exists for this key.
MenuActiveTrail::lazyLoadItself function core/lib/Drupal/Core/ProxyClass/Menu/MenuActiveTrail.php Lazy loads the real service from the container.
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.

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