class KeyValueDatabaseFactory
Defines the key/value store factory for the database backend.
Hierarchy
- class \Drupal\Core\KeyValueStore\KeyValueDatabaseFactory implements KeyValueFactoryInterface
File
- core/lib/Drupal/Core/KeyValueStore/KeyValueDatabaseFactory.php, line 11
Namespace
Drupal\Core\KeyValueStoreMembers
Name | Modifiers | Type | Description |
---|---|---|---|
KeyValueDatabaseFactory::$connection | protected | property | The database connection to use. |
KeyValueDatabaseFactory::$serializer | protected | property | The serialization class to use. |
KeyValueDatabaseFactory::get | public | function | Constructs a new key/value store for a given collection name. Overrides KeyValueFactoryInterface::get |
KeyValueDatabaseFactory::__construct | function | Constructs this factory object. |
© 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!KeyValueDatabaseFactory.php/class/KeyValueDatabaseFactory/8.1.x