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
MenuTreeStorage::__construct function core/lib/Drupal/Core/Menu/MenuTreeStorage.php Constructs a new \Drupal\Core\Menu\MenuTreeStorage.
MenuTreeStorageInterface interface core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php Defines an interface for storing a menu tree containing menu link IDs.
MenuTreeStorageInterface.php file core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php
MenuTreeStorageInterface::countMenuLinks function core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php Counts the total number of menu links in one menu or all menus.
MenuTreeStorageInterface::delete function core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php Deletes a menu link definition from the storage.
MenuTreeStorageInterface::getAllChildIds function core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php Loads all the IDs for menu links that are below the given ID.
MenuTreeStorageInterface::getExpanded function core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php Finds expanded links in a menu given a set of possible parents.
MenuTreeStorageInterface::getMenuNames function core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php Returns the used menu names in the tree storage.
MenuTreeStorageInterface::getRootPathIds function core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php Returns all the IDs that represent the path to the root of the tree.
MenuTreeStorageInterface::getSubtreeHeight function core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php Finds the height of a subtree rooted by the given ID.
MenuTreeStorageInterface::load function core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php Loads a menu link plugin definition from the storage.
MenuTreeStorageInterface::loadAllChildren function core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php Loads all the enabled menu links that are below the given ID.
MenuTreeStorageInterface::loadByProperties function core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php Loads multiple plugin definitions from the storage based on properties.
MenuTreeStorageInterface::loadByRoute function core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php Loads multiple plugin definitions from the storage based on route.
MenuTreeStorageInterface::loadMultiple function core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php Loads multiple plugin definitions from the storage.
MenuTreeStorageInterface::loadSubtreeData function core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php Loads a subtree rooted by the given ID.
MenuTreeStorageInterface::loadTreeData function core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php Loads a menu link tree from the storage.
MenuTreeStorageInterface::maxDepth function core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php The maximum depth of tree the storage implementation supports.
MenuTreeStorageInterface::menuNameInUse function core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php Determines whether a specific menu name is used in the tree.
MenuTreeStorageInterface::rebuild function core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php Rebuilds the stored menu link definitions.
MenuTreeStorageInterface::resetDefinitions function core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php Clears all definitions cached in memory.
MenuTreeStorageInterface::save function core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php Saves a plugin definition to the storage.
MenuTreeStorageTest class core/tests/Drupal/KernelTests/Core/Menu/MenuTreeStorageTest.php Tests the menu tree storage.
MenuTreeStorageTest.php file core/tests/Drupal/KernelTests/Core/Menu/MenuTreeStorageTest.php
MenuTreeStorageTest::$connection property core/tests/Drupal/KernelTests/Core/Menu/MenuTreeStorageTest.php The database connection.
MenuTreeStorageTest::$treeStorage property core/tests/Drupal/KernelTests/Core/Menu/MenuTreeStorageTest.php The tested tree storage.
MenuTreeStorageTest::addMenuLink function core/tests/Drupal/KernelTests/Core/Menu/MenuTreeStorageTest.php Adds a link with the given ID and supply defaults.
MenuTreeStorageTest::assertMenuLink function core/tests/Drupal/KernelTests/Core/Menu/MenuTreeStorageTest.php Tests that a link's stored representation matches the expected values.
MenuTreeStorageTest::doTestEmptyStorage function core/tests/Drupal/KernelTests/Core/Menu/MenuTreeStorageTest.php Ensures that there are no menu links by default.
MenuTreeStorageTest::doTestTable function core/tests/Drupal/KernelTests/Core/Menu/MenuTreeStorageTest.php Ensures that table gets created on the fly.
MenuTreeStorageTest::moveMenuLink function core/tests/Drupal/KernelTests/Core/Menu/MenuTreeStorageTest.php Moves the link with the given ID so it's under a new parent.
MenuTreeStorageTest::setUp function core/tests/Drupal/KernelTests/Core/Menu/MenuTreeStorageTest.php
MenuTreeStorageTest::testBasicMethods function core/tests/Drupal/KernelTests/Core/Menu/MenuTreeStorageTest.php Tests the tree storage when no tree was built yet.
MenuTreeStorageTest::testLoadByProperties function core/tests/Drupal/KernelTests/Core/Menu/MenuTreeStorageTest.php Tests MenuTreeStorage::loadByProperties().
MenuTreeStorageTest::testLoadTree function core/tests/Drupal/KernelTests/Core/Menu/MenuTreeStorageTest.php Tests the loadTreeData method.
MenuTreeStorageTest::testMenuDisabledChildLinks function core/tests/Drupal/KernelTests/Core/Menu/MenuTreeStorageTest.php Tests with disabled child links.
MenuTreeStorageTest::testMenuLinkMoving function core/tests/Drupal/KernelTests/Core/Menu/MenuTreeStorageTest.php Tests the tree with moving links inside the hierarchy.
MenuTreeStorageTest::testMenuRebuild function core/tests/Drupal/KernelTests/Core/Menu/MenuTreeStorageTest.php Ensure hierarchy persists after a menu rebuild.
MenuTreeStorageTest::testSimpleHierarchy function core/tests/Drupal/KernelTests/Core/Menu/MenuTreeStorageTest.php Tests with a simple linear hierarchy.
MenuTreeStorageTest::testSubtreeHeight function core/tests/Drupal/KernelTests/Core/Menu/MenuTreeStorageTest.php Tests finding the subtree height with content menu links.
MenuUiContentModerationTest class core/modules/menu_ui/tests/src/Functional/MenuUiContentModerationTest.php Tests Menu UI and Content Moderation integration.
MenuUiContentModerationTest.php file core/modules/menu_ui/tests/src/Functional/MenuUiContentModerationTest.php
MenuUiContentModerationTest::$defaultTheme property core/modules/menu_ui/tests/src/Functional/MenuUiContentModerationTest.php The theme to install as the default for testing.
MenuUiContentModerationTest::$modules property core/modules/menu_ui/tests/src/Functional/MenuUiContentModerationTest.php Modules to install.
MenuUiContentModerationTest::setUp function core/modules/menu_ui/tests/src/Functional/MenuUiContentModerationTest.php
MenuUiContentModerationTest::testMenuUiWithPendingRevisions function core/modules/menu_ui/tests/src/Functional/MenuUiContentModerationTest.php Tests that node drafts can not modify the menu settings.
MenuUiContentModerationTest::testMenuUiWithUnpublishedContent function core/modules/menu_ui/tests/src/Functional/MenuUiContentModerationTest.php Tests that unpublished content can be selected through the menu UI.
MenuUiContentTranslationTest class core/modules/menu_ui/tests/src/Functional/MenuUiContentTranslationTest.php Tests Menu UI and Content Translation integration for content entities.
MenuUiContentTranslationTest.php file core/modules/menu_ui/tests/src/Functional/MenuUiContentTranslationTest.php
MenuUiContentTranslationTest::$defaultTheme property core/modules/menu_ui/tests/src/Functional/MenuUiContentTranslationTest.php The theme to install as the default for testing.

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