interface KeyValueExpirableFactoryInterface in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/KeyValueStore/KeyValueExpirableFactoryInterface.php \Drupal\Core\KeyValueStore\KeyValueExpirableFactoryInterface
Defines the expirable key/value store factory interface.
Hierarchy
- interface \Drupal\Core\KeyValueStore\KeyValueExpirableFactoryInterface
Expanded class hierarchy of KeyValueExpirableFactoryInterface
All classes that implement KeyValueExpirableFactoryInterface
4 files declare their use of KeyValueExpirableFactoryInterface
- DbUpdateController.php in core/
modules/ system/ src/ Controller/ DbUpdateController.php - Contains \Drupal\system\Controller\DbUpdateController.
- FormCache.php in core/
lib/ Drupal/ Core/ Form/ FormCache.php - Contains \Drupal\Core\Form\FormCache.
- PrivateTempStoreFactory.php in core/
modules/ user/ src/ PrivateTempStoreFactory.php - Contains \Drupal\user\PrivateTempStoreFactory.
- SharedTempStoreFactory.php in core/
modules/ user/ src/ SharedTempStoreFactory.php - Contains \Drupal\user\SharedTempStoreFactory.
File
- core/
lib/ Drupal/ Core/ KeyValueStore/ KeyValueExpirableFactoryInterface.php, line 13 - Contains \Drupal\Core\KeyValueStore\KeyValueExpirableFactoryInterface.
Namespace
Drupal\Core\KeyValueStoreView source
interface KeyValueExpirableFactoryInterface {
/**
* Constructs a new expirable key/value store for a given collection name.
*
* @param string $collection
* The name of the collection holding key and value pairs.
*
* @return \Drupal\Core\KeyValueStore\KeyValueStoreExpirableInterface
* An expirable key/value store implementation for the given $collection.
*/
public function get($collection);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
KeyValueExpirableFactoryInterface:: |
public | function | Constructs a new expirable key/value store for a given collection name. | 2 |