Search for storage

  1. Search 7.x for storage
  2. Search 9.5.x for storage
  3. Search 10.3.x for storage
  4. Search 11.x for storage
  5. Other projects
Title Object type File name Summary
MemoryStorage::get function core/lib/Drupal/Core/KeyValueStore/MemoryStorage.php Returns the stored value for a given key.
MemoryStorage::getAll function core/lib/Drupal/Core/KeyValueStore/MemoryStorage.php Returns all stored key/value pairs in the collection.
MemoryStorage::getAllCollectionNames function core/lib/Drupal/Core/Config/MemoryStorage.php Gets the existing collections.
MemoryStorage::getCollectionName function core/lib/Drupal/Core/Config/MemoryStorage.php Gets the name of the current collection the storage is using.
MemoryStorage::getMultiple function core/lib/Drupal/Core/KeyValueStore/MemoryStorage.php Returns the stored key/value pairs for a given set of keys.
MemoryStorage::has function core/lib/Drupal/Core/KeyValueStore/MemoryStorage.php Returns whether a given key exists in the store.
MemoryStorage::listAll function core/lib/Drupal/Core/Config/MemoryStorage.php Gets configuration object names starting with a given prefix.
MemoryStorage::read function core/lib/Drupal/Core/Config/MemoryStorage.php Reads configuration data from the storage.
MemoryStorage::readMultiple function core/lib/Drupal/Core/Config/MemoryStorage.php Reads configuration data from the storage.
MemoryStorage::rename function core/lib/Drupal/Core/Config/MemoryStorage.php Renames a configuration object in the storage.
MemoryStorage::rename function core/lib/Drupal/Core/KeyValueStore/MemoryStorage.php Renames a key.
MemoryStorage::set function core/lib/Drupal/Core/KeyValueStore/MemoryStorage.php Saves a value for a given key.
MemoryStorage::setIfNotExists function core/lib/Drupal/Core/KeyValueStore/MemoryStorage.php Saves a value for a given key if it does not exist yet.
MemoryStorage::setMultiple function core/lib/Drupal/Core/KeyValueStore/MemoryStorage.php Saves key/value pairs.
MemoryStorage::write function core/lib/Drupal/Core/Config/MemoryStorage.php Writes configuration data to the storage.
MemoryStorage::__construct function core/lib/Drupal/Core/Config/MemoryStorage.php Constructs a new MemoryStorage.
MemoryStorageTest class core/tests/Drupal/KernelTests/Core/Config/Storage/MemoryStorageTest.php Tests MemoryStorage operations.
MemoryStorageTest class core/tests/Drupal/KernelTests/Core/KeyValueStore/MemoryStorageTest.php Tests the key-value memory storage.
MemoryStorageTest.php file core/tests/Drupal/KernelTests/Core/Config/Storage/MemoryStorageTest.php
MemoryStorageTest.php file core/tests/Drupal/KernelTests/Core/KeyValueStore/MemoryStorageTest.php
MemoryStorageTest::delete function core/tests/Drupal/KernelTests/Core/Config/Storage/MemoryStorageTest.php
MemoryStorageTest::insert function core/tests/Drupal/KernelTests/Core/Config/Storage/MemoryStorageTest.php
MemoryStorageTest::read function core/tests/Drupal/KernelTests/Core/Config/Storage/MemoryStorageTest.php
MemoryStorageTest::register function core/tests/Drupal/KernelTests/Core/KeyValueStore/MemoryStorageTest.php Registers test-specific services.
MemoryStorageTest::setUp function core/tests/Drupal/KernelTests/Core/Config/Storage/MemoryStorageTest.php
MemoryStorageTest::testInvalidStorage function core/tests/Drupal/KernelTests/Core/Config/Storage/MemoryStorageTest.php Tests an invalid storage.
MemoryStorageTest::update function core/tests/Drupal/KernelTests/Core/Config/Storage/MemoryStorageTest.php
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 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
MenuLinkParentTest::$menuLinkStorage property core/modules/migrate/tests/src/Unit/process/MenuLinkParentTest.php A MigrationInterface prophecy.
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 enable.
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.

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