class KeyValueNullExpirableFactory
Same name in other branches
- 9 core/lib/Drupal/Core/KeyValueStore/KeyValueNullExpirableFactory.php \Drupal\Core\KeyValueStore\KeyValueNullExpirableFactory
- 8.9.x core/lib/Drupal/Core/KeyValueStore/KeyValueNullExpirableFactory.php \Drupal\Core\KeyValueStore\KeyValueNullExpirableFactory
- 11.x core/lib/Drupal/Core/KeyValueStore/KeyValueNullExpirableFactory.php \Drupal\Core\KeyValueStore\KeyValueNullExpirableFactory
Defines the key/value store factory for the null backend.
Hierarchy
- class \Drupal\Core\KeyValueStore\KeyValueNullExpirableFactory implements \Drupal\Core\KeyValueStore\KeyValueExpirableFactoryInterface
Expanded class hierarchy of KeyValueNullExpirableFactory
File
-
core/
lib/ Drupal/ Core/ KeyValueStore/ KeyValueNullExpirableFactory.php, line 8
Namespace
Drupal\Core\KeyValueStoreView source
class KeyValueNullExpirableFactory implements KeyValueExpirableFactoryInterface {
/**
* {@inheritdoc}
*/
public function get($collection) {
return new NullStorageExpirable($collection);
}
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overriden Title |
---|---|---|---|---|
KeyValueNullExpirableFactory::get | public | function | Constructs a new expirable key/value store for a given collection name. | Overrides KeyValueExpirableFactoryInterface::get |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.