class KeyValueExpirableFactory in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/KeyValueStore/KeyValueExpirableFactory.php \Drupal\Core\KeyValueStore\KeyValueExpirableFactory
Defines the key/value store factory.
Hierarchy
- class \Drupal\Core\KeyValueStore\KeyValueFactory implements KeyValueFactoryInterface
- class \Drupal\Core\KeyValueStore\KeyValueExpirableFactory implements KeyValueExpirableFactoryInterface
Expanded class hierarchy of KeyValueExpirableFactory
2 files declare their use of KeyValueExpirableFactory
- TempStoreDatabaseTest.php in core/
tests/ Drupal/ KernelTests/ Core/ TempStore/ TempStoreDatabaseTest.php - TempStoreDatabaseTest.php in core/
modules/ user/ tests/ src/ Kernel/ TempStoreDatabaseTest.php
1 string reference to 'KeyValueExpirableFactory'
- core.services.yml in core/
core.services.yml - core/core.services.yml
1 service uses KeyValueExpirableFactory
File
- core/
lib/ Drupal/ Core/ KeyValueStore/ KeyValueExpirableFactory.php, line 8
Namespace
Drupal\Core\KeyValueStoreView source
class KeyValueExpirableFactory extends KeyValueFactory implements KeyValueExpirableFactoryInterface {
const DEFAULT_SERVICE = 'keyvalue.expirable.database';
const SPECIFIC_PREFIX = 'keyvalue_expirable_service_';
const DEFAULT_SETTING = 'keyvalue_expirable_default';
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
KeyValueExpirableFactory:: |
constant |
The default service id. Overrides KeyValueFactory:: |
||
KeyValueExpirableFactory:: |
constant |
The default setting name. Overrides KeyValueFactory:: |
||
KeyValueExpirableFactory:: |
constant |
The specific setting name prefix. Overrides KeyValueFactory:: |
||
KeyValueFactory:: |
protected | property | ||
KeyValueFactory:: |
protected | property | Instantiated stores, keyed by collection name. | |
KeyValueFactory:: |
public | function |
Constructs a new key/value store for a given collection name. Overrides KeyValueFactoryInterface:: |
|
KeyValueFactory:: |
public | function |