Search for menu

  1. Search 7.x for menu
  2. Search 9.5.x for menu
  3. Search 10.3.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 Menu source from database.

All search results

Title Object type File name Summary
menu.html.twig file core/themes/stable/templates/navigation/menu.html.twig Theme override to display a menu.
menu.html.twig file core/themes/classy/templates/navigation/menu.html.twig Theme override to display a menu.
menu.html.twig file core/modules/system/templates/menu.html.twig Default theme implementation to display a menu.
menu.inc file core/includes/menu.inc API for the Drupal menu system.
menu.link_tree service core/core.services.yml Drupal\Core\Menu\MenuLinkTree
menu.parent_form_selector service core/core.services.yml Drupal\Core\Menu\MenuParentFormSelector
Menu.php file core/modules/system/src/Entity/Menu.php
Menu.php file core/modules/system/src/Plugin/migrate/source/Menu.php
menu.rebuild_subscriber service core/core.services.yml Drupal\Core\EventSubscriber\MenuRouterRebuildSubscriber
menu.tree_storage service core/core.services.yml Drupal\Core\Menu\MenuTreeStorage
Menu::$description property core/modules/system/src/Entity/Menu.php The menu description.
Menu::$id property core/modules/system/src/Entity/Menu.php The menu machine name.
Menu::$label property core/modules/system/src/Entity/Menu.php The human-readable name of the menu entity.
Menu::$locked property core/modules/system/src/Entity/Menu.php The locked status of this menu.
Menu::delete function core/modules/system/src/Entity/Menu.php Deletes an entity permanently.
Menu::fields function core/modules/system/src/Plugin/migrate/source/Menu.php Returns available fields on the source.
Menu::getDescription function core/modules/system/src/Entity/Menu.php Returns the description of the menu.
Menu::getIds function core/modules/system/src/Plugin/migrate/source/Menu.php Defines the source fields uniquely identifying a source row.
Menu::isLocked function core/modules/system/src/Entity/Menu.php Determines if this menu is locked.
Menu::preDelete function core/modules/system/src/Entity/Menu.php Acts on entities before they are deleted and before hooks are invoked.
Menu::query function core/modules/system/src/Plugin/migrate/source/Menu.php
Menu::save function core/modules/system/src/Entity/Menu.php Saves an entity permanently.
MenuAccessControlHandler class core/modules/system/src/MenuAccessControlHandler.php Defines the access control handler for the menu entity type.
MenuAccessControlHandler.php file core/modules/system/src/MenuAccessControlHandler.php
MenuAccessControlHandler::$viewLabelOperation property core/modules/system/src/MenuAccessControlHandler.php Allows to grant access to just the labels.
MenuAccessControlHandler::checkAccess function core/modules/system/src/MenuAccessControlHandler.php Performs access checks.
MenuAccessControlHandlerTest class core/modules/system/tests/src/Kernel/MenuAccessControlHandlerTest.php @coversDefaultClass \Drupal\system\MenuAccessControlHandler
@group system
MenuAccessControlHandlerTest.php file core/modules/system/tests/src/Kernel/MenuAccessControlHandlerTest.php
MenuAccessControlHandlerTest::$accessControlHandler property core/modules/system/tests/src/Kernel/MenuAccessControlHandlerTest.php The menu access control handler.
MenuAccessControlHandlerTest::$modules property core/modules/system/tests/src/Kernel/MenuAccessControlHandlerTest.php Modules to enable.
MenuAccessControlHandlerTest::setUp function core/modules/system/tests/src/Kernel/MenuAccessControlHandlerTest.php
MenuAccessControlHandlerTest::testAccess function core/modules/system/tests/src/Kernel/MenuAccessControlHandlerTest.php @covers ::checkAccess
@covers ::checkCreateAccess
@dataProvider testAccessProvider
MenuAccessControlHandlerTest::testAccessProvider function core/modules/system/tests/src/Kernel/MenuAccessControlHandlerTest.php
MenuAccessTest class core/modules/system/tests/src/Functional/Menu/MenuAccessTest.php Tests the route access checks on menu links.
MenuAccessTest.php file core/modules/system/tests/src/Functional/Menu/MenuAccessTest.php
MenuAccessTest::$defaultTheme property core/modules/system/tests/src/Functional/Menu/MenuAccessTest.php The theme to install as the default for testing.
MenuAccessTest::$modules property core/modules/system/tests/src/Functional/Menu/MenuAccessTest.php Modules to enable.
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.
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::$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::doGetActiveTrailIds function core/lib/Drupal/Core/Menu/MenuActiveTrail.php Helper method for ::getActiveTrailIds().
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::getCid function core/lib/Drupal/Core/Menu/MenuActiveTrail.php
MenuActiveTrail::resolveCacheMiss function core/lib/Drupal/Core/Menu/MenuActiveTrail.php
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.

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