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. Other projects
Title Object type File name Summary
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.
DatabaseStorageExpirable::getAll function core/lib/Drupal/Core/KeyValueStore/DatabaseStorageExpirable.php Returns all stored key/value pairs in the collection.
DatabaseStorageExpirable::getMultiple function core/lib/Drupal/Core/KeyValueStore/DatabaseStorageExpirable.php Returns the stored key/value pairs for a given set of keys.
DatabaseStorageExpirable::has function core/lib/Drupal/Core/KeyValueStore/DatabaseStorageExpirable.php Returns whether a given key exists in the store.
DatabaseStorageExpirable::schemaDefinition function core/lib/Drupal/Core/KeyValueStore/DatabaseStorageExpirable.php Defines the schema for the key_value_expire table.
DatabaseStorageExpirable::setMultipleWithExpire function core/lib/Drupal/Core/KeyValueStore/DatabaseStorageExpirable.php Saves an array of values with a time to live.
DatabaseStorageExpirable::setWithExpire function core/lib/Drupal/Core/KeyValueStore/DatabaseStorageExpirable.php Saves a value for a given key with a time to live.
DatabaseStorageExpirable::setWithExpireIfNotExists 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.
DatabaseStorageExpirable::__construct function core/lib/Drupal/Core/KeyValueStore/DatabaseStorageExpirable.php Overrides Drupal\Core\KeyValueStore\StorageBase::__construct().
DatabaseStorageExpirableTest class core/tests/Drupal/KernelTests/Core/KeyValueStore/DatabaseStorageExpirableTest.php Tests the key-value database storage.
DatabaseStorageExpirableTest.php file core/tests/Drupal/KernelTests/Core/KeyValueStore/DatabaseStorageExpirableTest.php
DatabaseStorageExpirableTest::$modules property core/tests/Drupal/KernelTests/Core/KeyValueStore/DatabaseStorageExpirableTest.php Modules to install.
DatabaseStorageExpirableTest::register function core/tests/Drupal/KernelTests/Core/KeyValueStore/DatabaseStorageExpirableTest.php Registers test-specific services.
DatabaseStorageExpirableTest::setUp function core/tests/Drupal/KernelTests/Core/KeyValueStore/DatabaseStorageExpirableTest.php
DatabaseStorageExpirableTest::testCRUDWithExpiration function core/tests/Drupal/KernelTests/Core/KeyValueStore/DatabaseStorageExpirableTest.php Tests CRUD functionality with expiration.

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