class KeyValueFactory
Defines the key/value store factory.
Hierarchy
- class \Drupal\Core\KeyValueStore\KeyValueFactory implements KeyValueFactoryInterface
File
- core/lib/Drupal/Core/KeyValueStore/KeyValueFactory.php, line 10
Namespace
Drupal\Core\KeyValueStoreMembers
Name | Modifiers | Type | Description |
---|---|---|---|
KeyValueFactory::$container | protected | property | var \Symfony\Component\DependencyInjection\ContainerInterface |
KeyValueFactory::$stores | protected | property | Instantiated stores, keyed by collection name. |
KeyValueFactory::DEFAULT_SERVICE | constant | The default service id. | |
KeyValueFactory::DEFAULT_SETTING | constant | The default setting name. | |
KeyValueFactory::get | public | function | Constructs a new key/value store for a given collection name. Overrides KeyValueFactoryInterface::get |
KeyValueFactory::SPECIFIC_PREFIX | constant | The specific setting name prefix. | |
KeyValueFactory::__construct | function |
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!KeyValueStore!KeyValueFactory.php/class/KeyValueFactory/8.1.x