class KeyValueFactory in Service Container 7
Same name in this branch
- 7 src/KeyValueStore/KeyValueFactory.php \Drupal\service_container\KeyValueStore\KeyValueFactory
- 7 lib/Drupal/Core/KeyValueStore/KeyValueFactory.php \Drupal\Core\KeyValueStore\KeyValueFactory
Same name and namespace in other branches
- 7.2 src/KeyValueStore/KeyValueFactory.php \Drupal\service_container\KeyValueStore\KeyValueFactory
Overrides the core KV factory to use the 'service_container' container.
@codeCoverageIgnore
Hierarchy
- class \Drupal\Core\KeyValueStore\KeyValueFactory implements KeyValueFactoryInterface
- class \Drupal\service_container\KeyValueStore\KeyValueFactory
Expanded class hierarchy of KeyValueFactory
File
- src/
KeyValueStore/ KeyValueFactory.php, line 18 - Contains \Drupal\service_container\KeyValueStore\KeyValueFactory.
Namespace
Drupal\service_container\KeyValueStoreView source
class KeyValueFactory extends BaseKeyValueFactory {
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
KeyValueFactory:: |
protected | property | var \Symfony\Component\DependencyInjection\ContainerInterface | |
KeyValueFactory:: |
protected | property | Instantiated stores, keyed by collection name. | |
KeyValueFactory:: |
constant | The default service id. | 2 | |
KeyValueFactory:: |
constant | The default setting name. | 2 | |
KeyValueFactory:: |
public | function |
Constructs a new key/value store for a given collection name. Overrides KeyValueFactoryInterface:: |
|
KeyValueFactory:: |
constant | The specific setting name prefix. | 2 | |
KeyValueFactory:: |
function |