function KeyValueDatabaseFactory::get
Same name in other branches
- 9 core/lib/Drupal/Core/KeyValueStore/KeyValueDatabaseFactory.php \Drupal\Core\KeyValueStore\KeyValueDatabaseFactory::get()
- 8.9.x core/lib/Drupal/Core/KeyValueStore/KeyValueDatabaseFactory.php \Drupal\Core\KeyValueStore\KeyValueDatabaseFactory::get()
- 10 core/lib/Drupal/Core/KeyValueStore/KeyValueDatabaseFactory.php \Drupal\Core\KeyValueStore\KeyValueDatabaseFactory::get()
Overrides KeyValueFactoryInterface::get
File
-
core/
lib/ Drupal/ Core/ KeyValueStore/ KeyValueDatabaseFactory.php, line 43
Class
- KeyValueDatabaseFactory
- Defines the key/value store factory for the database backend.
Namespace
Drupal\Core\KeyValueStoreCode
public function get($collection) {
return new DatabaseStorage($collection, $this->serializer, $this->connection);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.