Search for key

  1. Search 7.x for key
  2. Search 8.9.x for key
  3. Search 10.3.x for key
  4. Search 11.x for key
  5. Other projects
Title Object type File name Summary
KeyValueExpirableFactory.php file core/lib/Drupal/Core/KeyValueStore/KeyValueExpirableFactory.php
KeyValueExpirableFactory::DEFAULT_SERVICE constant core/lib/Drupal/Core/KeyValueStore/KeyValueExpirableFactory.php The default service id.
KeyValueExpirableFactory::DEFAULT_SETTING constant core/lib/Drupal/Core/KeyValueStore/KeyValueExpirableFactory.php The default setting name.
KeyValueExpirableFactory::SPECIFIC_PREFIX constant core/lib/Drupal/Core/KeyValueStore/KeyValueExpirableFactory.php The specific setting name prefix.
KeyValueExpirableFactoryInterface interface core/lib/Drupal/Core/KeyValueStore/KeyValueExpirableFactoryInterface.php Defines the expirable key/value store factory interface.
KeyValueExpirableFactoryInterface.php file core/lib/Drupal/Core/KeyValueStore/KeyValueExpirableFactoryInterface.php
KeyValueExpirableFactoryInterface::get function core/lib/Drupal/Core/KeyValueStore/KeyValueExpirableFactoryInterface.php Constructs a new expirable key/value store for a given collection name.
KeyValueFactory class core/lib/Drupal/Core/KeyValueStore/KeyValueFactory.php Defines the key/value store factory.
KeyValueFactory.php file core/lib/Drupal/Core/KeyValueStore/KeyValueFactory.php
KeyValueFactory::$container property core/lib/Drupal/Core/KeyValueStore/KeyValueFactory.php The service container.
KeyValueFactory::$options property core/lib/Drupal/Core/KeyValueStore/KeyValueFactory.php Collection-specific storage override options.
KeyValueFactory::$stores property core/lib/Drupal/Core/KeyValueStore/KeyValueFactory.php Instantiated stores, keyed by collection name.
KeyValueFactory::DEFAULT_SERVICE constant core/lib/Drupal/Core/KeyValueStore/KeyValueFactory.php The default service id.
KeyValueFactory::DEFAULT_SETTING constant core/lib/Drupal/Core/KeyValueStore/KeyValueFactory.php The default setting name.
KeyValueFactory::get function core/lib/Drupal/Core/KeyValueStore/KeyValueFactory.php Constructs a new key/value store for a given collection name.
KeyValueFactory::SPECIFIC_PREFIX constant core/lib/Drupal/Core/KeyValueStore/KeyValueFactory.php The specific setting name prefix.
KeyValueFactory::__construct function core/lib/Drupal/Core/KeyValueStore/KeyValueFactory.php
KeyValueFactoryInterface interface core/lib/Drupal/Core/KeyValueStore/KeyValueFactoryInterface.php Defines the key/value store factory interface.
KeyValueFactoryInterface.php file core/lib/Drupal/Core/KeyValueStore/KeyValueFactoryInterface.php
KeyValueFactoryInterface::get function core/lib/Drupal/Core/KeyValueStore/KeyValueFactoryInterface.php Constructs a new key/value store for a given collection name.
KeyValueMemoryFactory class core/lib/Drupal/Core/KeyValueStore/KeyValueMemoryFactory.php Defines the key/value store factory for the memory backend.
KeyValueMemoryFactory.php file core/lib/Drupal/Core/KeyValueStore/KeyValueMemoryFactory.php
KeyValueMemoryFactory::$collections property core/lib/Drupal/Core/KeyValueStore/KeyValueMemoryFactory.php An array of keyvalue collections that are stored in memory.
KeyValueMemoryFactory::get function core/lib/Drupal/Core/KeyValueStore/KeyValueMemoryFactory.php Constructs a new key/value store for a given collection name.
KeyValueNullExpirableFactory class core/lib/Drupal/Core/KeyValueStore/KeyValueNullExpirableFactory.php Defines the key/value store factory for the null backend.
KeyValueNullExpirableFactory.php file core/lib/Drupal/Core/KeyValueStore/KeyValueNullExpirableFactory.php
KeyValueNullExpirableFactory::get function core/lib/Drupal/Core/KeyValueStore/KeyValueNullExpirableFactory.php Constructs a new expirable key/value store for a given collection name.
KeyValueStoreExpirableInterface interface core/lib/Drupal/Core/KeyValueStore/KeyValueStoreExpirableInterface.php Defines the interface for expiring data in a key/value store.
KeyValueStoreExpirableInterface.php file core/lib/Drupal/Core/KeyValueStore/KeyValueStoreExpirableInterface.php
KeyValueStoreExpirableInterface::setMultipleWithExpire function core/lib/Drupal/Core/KeyValueStore/KeyValueStoreExpirableInterface.php Saves an array of values with a time to live.
KeyValueStoreExpirableInterface::setWithExpire function core/lib/Drupal/Core/KeyValueStore/KeyValueStoreExpirableInterface.php Saves a value for a given key with a time to live.
KeyValueStoreExpirableInterface::setWithExpireIfNotExists function core/lib/Drupal/Core/KeyValueStore/KeyValueStoreExpirableInterface.php Sets a value for a given key with a time to live if it does not yet exist.
KeyValueStoreInterface interface core/lib/Drupal/Core/KeyValueStore/KeyValueStoreInterface.php Defines the interface for key/value store implementations.
KeyValueStoreInterface.php file core/lib/Drupal/Core/KeyValueStore/KeyValueStoreInterface.php
KeyValueStoreInterface::delete function core/lib/Drupal/Core/KeyValueStore/KeyValueStoreInterface.php Deletes an item from the key/value store.
KeyValueStoreInterface::deleteAll function core/lib/Drupal/Core/KeyValueStore/KeyValueStoreInterface.php Deletes all items from the key/value store.
KeyValueStoreInterface::deleteMultiple function core/lib/Drupal/Core/KeyValueStore/KeyValueStoreInterface.php Deletes multiple items from the key/value store.
KeyValueStoreInterface::get function core/lib/Drupal/Core/KeyValueStore/KeyValueStoreInterface.php Returns the stored value for a given key.
KeyValueStoreInterface::getAll function core/lib/Drupal/Core/KeyValueStore/KeyValueStoreInterface.php Returns all stored key/value pairs in the collection.
KeyValueStoreInterface::getCollectionName function core/lib/Drupal/Core/KeyValueStore/KeyValueStoreInterface.php Returns the name of this collection.
KeyValueStoreInterface::getMultiple function core/lib/Drupal/Core/KeyValueStore/KeyValueStoreInterface.php Returns the stored key/value pairs for a given set of keys.
KeyValueStoreInterface::has function core/lib/Drupal/Core/KeyValueStore/KeyValueStoreInterface.php Returns whether a given key exists in the store.
KeyValueStoreInterface::rename function core/lib/Drupal/Core/KeyValueStore/KeyValueStoreInterface.php Renames a key.
KeyValueStoreInterface::set function core/lib/Drupal/Core/KeyValueStore/KeyValueStoreInterface.php Saves a value for a given key.
KeyValueStoreInterface::setIfNotExists function core/lib/Drupal/Core/KeyValueStore/KeyValueStoreInterface.php Saves a value for a given key if it does not exist yet.
KeyValueStoreInterface::setMultiple function core/lib/Drupal/Core/KeyValueStore/KeyValueStoreInterface.php Saves key/value pairs.
keyvalue_test.info.yml file core/modules/system/tests/modules/keyvalue_test/keyvalue_test.info.yml core/modules/system/tests/modules/keyvalue_test/keyvalue_test.info.yml
keyvalue_test.module file core/modules/system/tests/modules/keyvalue_test/keyvalue_test.module Sets up the key value entity storage.
keyvalue_test_entity_type_alter function core/modules/system/tests/modules/keyvalue_test/keyvalue_test.module Implements hook_entity_type_alter().
LanguageListBuilder::$entitiesKey property core/modules/language/src/LanguageListBuilder.php The key to use for the form element containing the entities.

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