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 10.3.x for storage
  5. Other projects
Title Object type File name Summary
MemoryStorageTest::update function core/tests/Drupal/KernelTests/Core/Config/Storage/MemoryStorageTest.php Updates configuration data in the storage.
menu.tree_storage service core/core.services.yml Drupal\Core\Menu\MenuTreeStorage
MenuForm::$menuLinkContentStorage property core/modules/menu_ui/src/MenuForm.php The menu_link_content storage handler.
MenuLinkContentStorage class core/modules/menu_link_content/src/MenuLinkContentStorage.php Storage handler for menu_link_content entities.
MenuLinkContentStorage.php file core/modules/menu_link_content/src/MenuLinkContentStorage.php
MenuLinkContentStorage::getMenuLinkIdsWithPendingRevisions function core/modules/menu_link_content/src/MenuLinkContentStorage.php
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
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.
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 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.

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