Search for storage

  1. Search 7.x for storage
  2. Search 9.5.x for storage
  3. Search 8.9.x for storage
  4. Search 11.x for storage
  5. Other projects
Title Object type File name Summary
MenuLinkContentStorage::getMenuLinkIdsWithPendingRevisions function core/modules/menu_link_content/src/MenuLinkContentStorage.php Gets a list of menu link IDs with pending revisions.
MenuLinkContentStorageInterface interface core/modules/menu_link_content/src/MenuLinkContentStorageInterface.php Defines an interface for menu_link_content entity storage classes.
MenuLinkContentStorageInterface.php file core/modules/menu_link_content/src/MenuLinkContentStorageInterface.php
MenuLinkContentStorageInterface::getMenuLinkIdsWithPendingRevisions function core/modules/menu_link_content/src/MenuLinkContentStorageInterface.php Gets a list of menu link IDs with pending revisions.
MenuLinkContentStorageSchema class core/modules/menu_link_content/src/MenuLinkContentStorageSchema.php Defines the menu_link_content schema handler.
MenuLinkContentStorageSchema.php file core/modules/menu_link_content/src/MenuLinkContentStorageSchema.php
MenuLinkContentStorageSchema::getSharedTableFieldSchema function core/modules/menu_link_content/src/MenuLinkContentStorageSchema.php Gets the schema for a single field definition.
MenuLinkManager::$treeStorage property core/lib/Drupal/Core/Menu/MenuLinkManager.php The menu link tree storage.
MenuLinkParent::$menuLinkStorage property core/modules/migrate/src/Plugin/migrate/process/MenuLinkParent.php The menu link entity storage handler.
MenuLinkParentTest::$menuLinkStorage property core/modules/migrate/tests/src/Unit/process/MenuLinkParentTest.php The menu link entity storage handler.
MenuLinkTree::$treeStorage property core/lib/Drupal/Core/Menu/MenuLinkTree.php The menu link tree storage.
MenuStorage class core/modules/system/src/MenuStorage.php Defines the storage class for menu configuration entities.
MenuStorage.php file core/modules/system/src/MenuStorage.php
MenuStorage::MAX_ID_LENGTH constant core/modules/system/src/MenuStorage.php Menu names have a maximum length of 32.
MenuStorageTest class core/modules/system/tests/src/Kernel/Menu/MenuStorageTest.php Tests MenuStorage.
MenuStorageTest.php file core/modules/system/tests/src/Kernel/Menu/MenuStorageTest.php
MenuStorageTest::$modules property core/modules/system/tests/src/Kernel/Menu/MenuStorageTest.php Modules to install.
MenuStorageTest::testMaxIdLengthException function core/modules/system/tests/src/Kernel/Menu/MenuStorageTest.php Tests MenuStorage::MAX_ID_LENGTH is enforced.
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.

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