class KeyValueExpirableFactory in Service Container 7.2
Same name in this branch
- 7.2 src/KeyValueStore/KeyValueExpirableFactory.php \Drupal\service_container\KeyValueStore\KeyValueExpirableFactory
- 7.2 lib/Drupal/Core/KeyValueStore/KeyValueExpirableFactory.php \Drupal\Core\KeyValueStore\KeyValueExpirableFactory
Same name and namespace in other branches
- 7 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
3 files declare their use of KeyValueExpirableFactory
- DatabaseStorageExpirableTest.php in lib/
Drupal/ service_container/ Tests/ KeyValue/ DatabaseStorageExpirableTest.php - Contains Drupal\system\Tests\KeyValueStore\DatabaseStorageExpirableTest.
- ServiceContainerServiceProvider.php in tests/
modules/ service_container_test_ctools/ src/ ServiceContainer/ ServiceProvider/ ServiceContainerServiceProvider.php - Contains \Drupal\service_container_test_ctools\ServiceContainer\ServiceProvider\ServiceContainerServiceProvider.
- ServiceContainerServiceProvider.php in tests/
modules/ service_container_test/ src/ ServiceContainer/ ServiceProvider/ ServiceContainerServiceProvider.php - Contains \Drupal\service_container_test\ServiceContainer\ServiceProvider\ServiceContainerServiceProvider.
File
- lib/
Drupal/ Core/ KeyValueStore/ KeyValueExpirableFactory.php, line 15 - Contains \Drupal\Core\KeyValueStore\KeyValueExpirableFactory.
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 | var \Symfony\Component\DependencyInjection\ContainerInterface | |
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:: |
function |