Search for storage

  1. Search 7.x for storage
  2. Search 8.9.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
ContentTranslationPendingRevisionTestBase::$storage property core/modules/content_translation/tests/src/Functional/ContentTranslationPendingRevisionTestBase.php The entity storage.
CopyTest::testEntityStorageException function core/modules/file/tests/src/Kernel/CopyTest.php Tests for entity storage exception.
CurrentUserContext::$userStorage property core/modules/user/src/ContextProvider/CurrentUserContext.php The user storage.
DatabaseStorage class core/lib/Drupal/Core/Config/DatabaseStorage.php Defines the Database storage.
DatabaseStorage class core/lib/Drupal/Core/KeyValueStore/DatabaseStorage.php Defines a default key/value store implementation.
DatabaseStorage.php file core/lib/Drupal/Core/KeyValueStore/DatabaseStorage.php
DatabaseStorage.php file core/lib/Drupal/Core/Config/DatabaseStorage.php
DatabaseStorage::$collection property core/lib/Drupal/Core/Config/DatabaseStorage.php The storage collection.
DatabaseStorage::$connection property core/lib/Drupal/Core/Config/DatabaseStorage.php The database connection.
DatabaseStorage::$connection property core/lib/Drupal/Core/KeyValueStore/DatabaseStorage.php The database connection.
DatabaseStorage::$options property core/lib/Drupal/Core/Config/DatabaseStorage.php Additional database connection options to use in queries.
DatabaseStorage::$serializer property core/lib/Drupal/Core/KeyValueStore/DatabaseStorage.php The serialization class to use.
DatabaseStorage::$table property core/lib/Drupal/Core/KeyValueStore/DatabaseStorage.php The name of the SQL table to use.
DatabaseStorage::$table property core/lib/Drupal/Core/Config/DatabaseStorage.php The database table name.
DatabaseStorage::catchException function core/lib/Drupal/Core/KeyValueStore/DatabaseStorage.php Act on an exception when the table might not have been created.
DatabaseStorage::createCollection function core/lib/Drupal/Core/Config/DatabaseStorage.php Creates a collection on the storage.
DatabaseStorage::decode function core/lib/Drupal/Core/Config/DatabaseStorage.php Implements Drupal\Core\Config\StorageInterface::decode().
DatabaseStorage::delete function core/lib/Drupal/Core/Config/DatabaseStorage.php Implements Drupal\Core\Config\StorageInterface::delete().
DatabaseStorage::deleteAll function core/lib/Drupal/Core/Config/DatabaseStorage.php Deletes configuration objects whose names start with a given prefix.
DatabaseStorage::deleteAll function core/lib/Drupal/Core/KeyValueStore/DatabaseStorage.php Deletes all items from the key/value store.
DatabaseStorage::deleteMultiple function core/lib/Drupal/Core/KeyValueStore/DatabaseStorage.php Deletes multiple items from the key/value store.
DatabaseStorage::doSet function core/lib/Drupal/Core/KeyValueStore/DatabaseStorage.php Saves a value for a given key.
DatabaseStorage::doSetIfNotExists function core/lib/Drupal/Core/KeyValueStore/DatabaseStorage.php Saves a value for a given key if it does not exist yet.
DatabaseStorage::doWrite function core/lib/Drupal/Core/Config/DatabaseStorage.php Helper method so we can re-try a write.
DatabaseStorage::encode function core/lib/Drupal/Core/Config/DatabaseStorage.php Encodes configuration data into the storage-specific format.
DatabaseStorage::ensureTableExists function core/lib/Drupal/Core/Config/DatabaseStorage.php Check if the config table exists and create it if not.
DatabaseStorage::ensureTableExists function core/lib/Drupal/Core/KeyValueStore/DatabaseStorage.php Check if the table exists and create it if not.
DatabaseStorage::exists function core/lib/Drupal/Core/Config/DatabaseStorage.php Returns whether a configuration object exists.
DatabaseStorage::getAll function core/lib/Drupal/Core/KeyValueStore/DatabaseStorage.php Returns all stored key/value pairs in the collection.
DatabaseStorage::getAllCollectionNames function core/lib/Drupal/Core/Config/DatabaseStorage.php Gets the existing collections.
DatabaseStorage::getCollectionName function core/lib/Drupal/Core/Config/DatabaseStorage.php Gets the name of the current collection the storage is using.
DatabaseStorage::getMultiple function core/lib/Drupal/Core/KeyValueStore/DatabaseStorage.php Returns the stored key/value pairs for a given set of keys.
DatabaseStorage::has function core/lib/Drupal/Core/KeyValueStore/DatabaseStorage.php Returns whether a given key exists in the store.
DatabaseStorage::listAll function core/lib/Drupal/Core/Config/DatabaseStorage.php Gets configuration object names starting with a given prefix.
DatabaseStorage::read function core/lib/Drupal/Core/Config/DatabaseStorage.php Reads configuration data from the storage.
DatabaseStorage::readMultiple function core/lib/Drupal/Core/Config/DatabaseStorage.php Reads configuration data from the storage.
DatabaseStorage::rename function core/lib/Drupal/Core/Config/DatabaseStorage.php Implements Drupal\Core\Config\StorageInterface::rename().
DatabaseStorage::rename function core/lib/Drupal/Core/KeyValueStore/DatabaseStorage.php Renames a key.
DatabaseStorage::schemaDefinition function core/lib/Drupal/Core/KeyValueStore/DatabaseStorage.php Defines the schema for the key_value table.
DatabaseStorage::schemaDefinition function core/lib/Drupal/Core/Config/DatabaseStorage.php Defines the schema for the configuration table.
DatabaseStorage::set function core/lib/Drupal/Core/KeyValueStore/DatabaseStorage.php Saves a value for a given key.
DatabaseStorage::setIfNotExists function core/lib/Drupal/Core/KeyValueStore/DatabaseStorage.php Saves a value for a given key if it does not exist yet.
DatabaseStorage::write function core/lib/Drupal/Core/Config/DatabaseStorage.php Writes configuration data to the storage.
DatabaseStorage::__construct function core/lib/Drupal/Core/Config/DatabaseStorage.php Constructs a new DatabaseStorage.
DatabaseStorage::__construct function core/lib/Drupal/Core/KeyValueStore/DatabaseStorage.php Overrides Drupal\Core\KeyValueStore\StorageBase::__construct().
DatabaseStorageExpirable class core/lib/Drupal/Core/KeyValueStore/DatabaseStorageExpirable.php Defines a default key/value store implementation for expiring items.
DatabaseStorageExpirable.php file core/lib/Drupal/Core/KeyValueStore/DatabaseStorageExpirable.php
DatabaseStorageExpirable::deleteMultiple function core/lib/Drupal/Core/KeyValueStore/DatabaseStorageExpirable.php Deletes multiple items from the key/value store.
DatabaseStorageExpirable::doSetWithExpire function core/lib/Drupal/Core/KeyValueStore/DatabaseStorageExpirable.php Saves a value for a given key with a time to live.
DatabaseStorageExpirable::doSetWithExpireIfNotExists function core/lib/Drupal/Core/KeyValueStore/DatabaseStorageExpirable.php Sets a value for a given key with a time to live if it does not yet exist.

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