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
MenuTreeParametersTest class core/tests/Drupal/Tests/Core/Menu/MenuTreeParametersTest.php Tests the menu link tree parameters value object.
MenuTreeParametersTest.php file core/tests/Drupal/Tests/Core/Menu/MenuTreeParametersTest.php
MenuTreeParametersTest::providerTestSetMinDepth function core/tests/Drupal/Tests/Core/Menu/MenuTreeParametersTest.php Provides test data for testSetMinDepth().
MenuTreeParametersTest::testAddCondition function core/tests/Drupal/Tests/Core/Menu/MenuTreeParametersTest.php Tests addCondition().
MenuTreeParametersTest::testAddExpanded function core/tests/Drupal/Tests/Core/Menu/MenuTreeParametersTest.php Tests addExpandedParents().
MenuTreeParametersTest::testExcludeRoot function core/tests/Drupal/Tests/Core/Menu/MenuTreeParametersTest.php Tests excludeRoot().
MenuTreeParametersTest::testOnlyEnabledLinks function core/tests/Drupal/Tests/Core/Menu/MenuTreeParametersTest.php Tests onlyEnabledLinks().
MenuTreeParametersTest::testSerialize function core/tests/Drupal/Tests/Core/Menu/MenuTreeParametersTest.php @covers ::serialize
@covers ::unserialize
MenuTreeParametersTest::testSetMinDepth function core/tests/Drupal/Tests/Core/Menu/MenuTreeParametersTest.php Tests setMinDepth().
MenuTreeParametersTest::testSetTopLevelOnly function core/tests/Drupal/Tests/Core/Menu/MenuTreeParametersTest.php Tests setTopLevelOnly().
MenuTreeStorage class core/lib/Drupal/Core/Menu/MenuTreeStorage.php Provides a menu tree storage using the database.
MenuTreeStorage.php file core/lib/Drupal/Core/Menu/MenuTreeStorage.php
MenuTreeStorage::$cacheTagsInvalidator property core/lib/Drupal/Core/Menu/MenuTreeStorage.php The cache tags invalidator.
MenuTreeStorage::$connection property core/lib/Drupal/Core/Menu/MenuTreeStorage.php The database connection.
MenuTreeStorage::$definitions property core/lib/Drupal/Core/Menu/MenuTreeStorage.php Stores definitions that have already been loaded for better performance.
MenuTreeStorage::$menuCacheBackend property core/lib/Drupal/Core/Menu/MenuTreeStorage.php Cache backend instance for the extracted tree data.
MenuTreeStorage::$options property core/lib/Drupal/Core/Menu/MenuTreeStorage.php Additional database connection options to use in queries.
MenuTreeStorage::$serializedFields property core/lib/Drupal/Core/Menu/MenuTreeStorage.php List of serialized fields.
MenuTreeStorage::$table property core/lib/Drupal/Core/Menu/MenuTreeStorage.php The database table name.
MenuTreeStorage::collectRoutesAndDefinitions function core/lib/Drupal/Core/Menu/MenuTreeStorage.php Traverses the menu tree and collects all the route names and definitions.
MenuTreeStorage::countMenuLinks function core/lib/Drupal/Core/Menu/MenuTreeStorage.php
MenuTreeStorage::definitionFields function core/lib/Drupal/Core/Menu/MenuTreeStorage.php Determines fields that are part of the plugin definition.
MenuTreeStorage::delete function core/lib/Drupal/Core/Menu/MenuTreeStorage.php
MenuTreeStorage::doBuildTreeData function core/lib/Drupal/Core/Menu/MenuTreeStorage.php Prepares the data for calling $this->treeDataRecursive().
MenuTreeStorage::doCollectRoutesAndDefinitions function core/lib/Drupal/Core/Menu/MenuTreeStorage.php Collects all the route names and definitions.
MenuTreeStorage::doDeleteMultiple function core/lib/Drupal/Core/Menu/MenuTreeStorage.php Purge menu links from the database.
MenuTreeStorage::doFindChildrenRelativeDepth function core/lib/Drupal/Core/Menu/MenuTreeStorage.php Finds the relative depth of this link's deepest child.
MenuTreeStorage::doSave function core/lib/Drupal/Core/Menu/MenuTreeStorage.php Saves a link without clearing caches.
MenuTreeStorage::ensureTableExists function core/lib/Drupal/Core/Menu/MenuTreeStorage.php Checks if the tree table exists and create it if not.
MenuTreeStorage::findNoLongerExistingLinks function core/lib/Drupal/Core/Menu/MenuTreeStorage.php Find any previously discovered menu links that no longer exist.
MenuTreeStorage::findParent function core/lib/Drupal/Core/Menu/MenuTreeStorage.php Loads the parent definition if it exists.
MenuTreeStorage::getAllChildIds function core/lib/Drupal/Core/Menu/MenuTreeStorage.php
MenuTreeStorage::getExpanded function core/lib/Drupal/Core/Menu/MenuTreeStorage.php
MenuTreeStorage::getMenuNames function core/lib/Drupal/Core/Menu/MenuTreeStorage.php
MenuTreeStorage::getRootPathIds function core/lib/Drupal/Core/Menu/MenuTreeStorage.php
MenuTreeStorage::getSubtreeHeight function core/lib/Drupal/Core/Menu/MenuTreeStorage.php
MenuTreeStorage::load function core/lib/Drupal/Core/Menu/MenuTreeStorage.php
MenuTreeStorage::loadAllChildren function core/lib/Drupal/Core/Menu/MenuTreeStorage.php
MenuTreeStorage::loadByProperties function core/lib/Drupal/Core/Menu/MenuTreeStorage.php
MenuTreeStorage::loadByRoute function core/lib/Drupal/Core/Menu/MenuTreeStorage.php
MenuTreeStorage::loadFull function core/lib/Drupal/Core/Menu/MenuTreeStorage.php Loads all table fields, not just those that are in the plugin definition.
MenuTreeStorage::loadFullMultiple function core/lib/Drupal/Core/Menu/MenuTreeStorage.php Loads all table fields for multiple menu link definitions by ID.
MenuTreeStorage::loadLinks function core/lib/Drupal/Core/Menu/MenuTreeStorage.php Loads links in the given menu, according to the given tree parameters.
MenuTreeStorage::loadMultiple function core/lib/Drupal/Core/Menu/MenuTreeStorage.php
MenuTreeStorage::loadSubtreeData function core/lib/Drupal/Core/Menu/MenuTreeStorage.php
MenuTreeStorage::loadTreeData function core/lib/Drupal/Core/Menu/MenuTreeStorage.php
MenuTreeStorage::maxDepth function core/lib/Drupal/Core/Menu/MenuTreeStorage.php
MenuTreeStorage::MAX_DEPTH constant core/lib/Drupal/Core/Menu/MenuTreeStorage.php The maximum depth of a menu links tree.
MenuTreeStorage::menuNameInUse function core/lib/Drupal/Core/Menu/MenuTreeStorage.php
MenuTreeStorage::moveChildren function core/lib/Drupal/Core/Menu/MenuTreeStorage.php Re-parents a link's children when the link itself is moved.

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