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
MenuTreeStorage::prepareLink function core/lib/Drupal/Core/Menu/MenuTreeStorage.php Prepares a link by unserializing values and saving the definition.
MenuTreeStorage::preSave function core/lib/Drupal/Core/Menu/MenuTreeStorage.php Fills in all the fields the database save needs, using the link definition.
MenuTreeStorage::purgeMultiple function core/lib/Drupal/Core/Menu/MenuTreeStorage.php Purges multiple menu links that no longer exist.
MenuTreeStorage::rebuild function core/lib/Drupal/Core/Menu/MenuTreeStorage.php
MenuTreeStorage::resetDefinitions function core/lib/Drupal/Core/Menu/MenuTreeStorage.php
MenuTreeStorage::safeExecuteSelect function core/lib/Drupal/Core/Menu/MenuTreeStorage.php Executes a select query while making sure the database table exists.
MenuTreeStorage::save function core/lib/Drupal/Core/Menu/MenuTreeStorage.php
MenuTreeStorage::saveRecursive function core/lib/Drupal/Core/Menu/MenuTreeStorage.php Saves menu links recursively.
MenuTreeStorage::schemaDefinition function core/lib/Drupal/Core/Menu/MenuTreeStorage.php Defines the schema for the tree table.
MenuTreeStorage::serializedFields function core/lib/Drupal/Core/Menu/MenuTreeStorage.php Determines serialized fields in the storage.
MenuTreeStorage::setParents function core/lib/Drupal/Core/Menu/MenuTreeStorage.php Sets the materialized path field values based on the parent.
MenuTreeStorage::treeDataRecursive function core/lib/Drupal/Core/Menu/MenuTreeStorage.php Builds the data representing a menu tree.
MenuTreeStorage::updateParentalStatus function core/lib/Drupal/Core/Menu/MenuTreeStorage.php Sets has_children for the link's parent if it has visible children.
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.

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