Search for to

  1. Search 7.x for to
  2. Search 9.5.x for to
  3. Search 8.9.x for to
  4. Search 10.3.x for to
  5. Search 11.x for to
  6. Other projects
Title Object type File name Summary
MenuStorageTest::testMaxIdLengthException function core/modules/system/tests/src/Kernel/Menu/MenuStorageTest.php Tests MenuStorage::MAX_ID_LENGTH is enforced.
MenuTestController::$themeNegotiator property core/modules/system/tests/modules/menu_test/src/Controller/MenuTestController.php The theme negotiator.
MenuTreeHierarchyConstraintValidator class core/modules/menu_link_content/src/Plugin/Validation/Constraint/MenuTreeHierarchyConstraintValidator.php Constraint validator for changing menu link parents in pending revisions.
MenuTreeHierarchyConstraintValidator.php file core/modules/menu_link_content/src/Plugin/Validation/Constraint/MenuTreeHierarchyConstraintValidator.php
MenuTreeHierarchyConstraintValidator::$entityTypeManager property core/modules/menu_link_content/src/Plugin/Validation/Constraint/MenuTreeHierarchyConstraintValidator.php The entity type manager.
MenuTreeHierarchyConstraintValidator::create function core/modules/menu_link_content/src/Plugin/Validation/Constraint/MenuTreeHierarchyConstraintValidator.php Instantiates a new instance of this class.
MenuTreeHierarchyConstraintValidator::validate function core/modules/menu_link_content/src/Plugin/Validation/Constraint/MenuTreeHierarchyConstraintValidator.php
MenuTreeHierarchyConstraintValidator::__construct function core/modules/menu_link_content/src/Plugin/Validation/Constraint/MenuTreeHierarchyConstraintValidator.php Creates a new MenuTreeHierarchyConstraintValidator instance.
MenuTreeParameters::setTopLevelOnly function core/lib/Drupal/Core/Menu/MenuTreeParameters.php Ensures only the top level of the tree is loaded.
MenuTreeParametersTest::testOnlyEnabledLinks function core/tests/Drupal/Tests/Core/Menu/MenuTreeParametersTest.php Tests onlyEnabledLinks().
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::$preloadedOriginals property core/lib/Drupal/Core/Menu/MenuTreeStorage.php Pre-loaded original link data for batch operations.
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 Counts the total number of menu links in one menu or all menus.
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 Deletes a menu link definition from the storage.
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 Loads all the IDs for menu links that are below the given ID.
MenuTreeStorage::getExpanded function core/lib/Drupal/Core/Menu/MenuTreeStorage.php Finds expanded links in a menu given a set of possible parents.
MenuTreeStorage::getMenuNames function core/lib/Drupal/Core/Menu/MenuTreeStorage.php Returns the used menu names in the tree storage.
MenuTreeStorage::getRootPathIds function core/lib/Drupal/Core/Menu/MenuTreeStorage.php Returns all the IDs that represent the path to the root of the tree.
MenuTreeStorage::getSubtreeHeight function core/lib/Drupal/Core/Menu/MenuTreeStorage.php Finds the height of a subtree rooted by the given ID.
MenuTreeStorage::load function core/lib/Drupal/Core/Menu/MenuTreeStorage.php Loads a menu link plugin definition from the storage.
MenuTreeStorage::loadAllChildren function core/lib/Drupal/Core/Menu/MenuTreeStorage.php Loads all the enabled menu links that are below the given ID.
MenuTreeStorage::loadAllOriginals function core/lib/Drupal/Core/Menu/MenuTreeStorage.php Loads all original link data for a set of IDs without unserialization.
MenuTreeStorage::loadByProperties function core/lib/Drupal/Core/Menu/MenuTreeStorage.php Loads multiple plugin definitions from the storage based on properties.
MenuTreeStorage::loadByRoute function core/lib/Drupal/Core/Menu/MenuTreeStorage.php Loads multiple plugin definitions from the storage based on route.
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 Loads multiple plugin definitions from the storage.
MenuTreeStorage::loadSubtreeData function core/lib/Drupal/Core/Menu/MenuTreeStorage.php Loads a subtree rooted by the given ID.
MenuTreeStorage::loadTreeData function core/lib/Drupal/Core/Menu/MenuTreeStorage.php Loads a menu link tree from the storage.
MenuTreeStorage::maxDepth function core/lib/Drupal/Core/Menu/MenuTreeStorage.php The maximum depth of tree the storage implementation supports.

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