class KeyValueExpirableFactory
Same name in other branches
- 9 core/lib/Drupal/Core/KeyValueStore/KeyValueExpirableFactory.php \Drupal\Core\KeyValueStore\KeyValueExpirableFactory
- 10 core/lib/Drupal/Core/KeyValueStore/KeyValueExpirableFactory.php \Drupal\Core\KeyValueStore\KeyValueExpirableFactory
- 11.x core/lib/Drupal/Core/KeyValueStore/KeyValueExpirableFactory.php \Drupal\Core\KeyValueStore\KeyValueExpirableFactory
Defines the key/value store factory.
Hierarchy
- class \Drupal\Core\KeyValueStore\KeyValueFactory implements \Drupal\Core\KeyValueStore\KeyValueFactoryInterface
- class \Drupal\Core\KeyValueStore\KeyValueExpirableFactory extends \Drupal\Core\KeyValueStore\KeyValueFactory implements \Drupal\Core\KeyValueStore\KeyValueExpirableFactoryInterface
Expanded class hierarchy of KeyValueExpirableFactory
2 files declare their use of KeyValueExpirableFactory
- TempStoreDatabaseTest.php in core/
modules/ user/ tests/ src/ Kernel/ TempStoreDatabaseTest.php - TempStoreDatabaseTest.php in core/
tests/ Drupal/ KernelTests/ Core/ TempStore/ 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
Title Sort descending | Modifiers | Object type | Summary | Overriden Title |
---|---|---|---|---|
KeyValueExpirableFactory::DEFAULT_SERVICE | constant | The default service id. | Overrides KeyValueFactory::DEFAULT_SERVICE | |
KeyValueExpirableFactory::DEFAULT_SETTING | constant | The default setting name. | Overrides KeyValueFactory::DEFAULT_SETTING | |
KeyValueExpirableFactory::SPECIFIC_PREFIX | constant | The specific setting name prefix. | Overrides KeyValueFactory::SPECIFIC_PREFIX | |
KeyValueFactory::$container | protected | property | ||
KeyValueFactory::$stores | protected | property | Instantiated stores, keyed by collection name. | |
KeyValueFactory::get | public | function | Constructs a new key/value store for a given collection name. | Overrides KeyValueFactoryInterface::get |
KeyValueFactory::__construct | public | function |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.