class KeyValueExpirableFactory

Same name in other branches
  1. 9 core/lib/Drupal/Core/KeyValueStore/KeyValueExpirableFactory.php \Drupal\Core\KeyValueStore\KeyValueExpirableFactory
  2. 8.9.x core/lib/Drupal/Core/KeyValueStore/KeyValueExpirableFactory.php \Drupal\Core\KeyValueStore\KeyValueExpirableFactory
  3. 11.x core/lib/Drupal/Core/KeyValueStore/KeyValueExpirableFactory.php \Drupal\Core\KeyValueStore\KeyValueExpirableFactory

Defines the key/value store factory.

Hierarchy

Expanded class hierarchy of KeyValueExpirableFactory

1 file declares its use of KeyValueExpirableFactory
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
keyvalue.expirable in core/core.services.yml
Drupal\Core\KeyValueStore\KeyValueExpirableFactory

File

core/lib/Drupal/Core/KeyValueStore/KeyValueExpirableFactory.php, line 8

Namespace

Drupal\Core\KeyValueStore
View 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 The service container.
KeyValueFactory::$options protected property Collection-specific storage override options.
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.