public function KeyValueDatabaseListFactory::get in Key-value Extensions 8
Parameters
string $collection:
Return value
\Drupal\key_value\KeyValueStore\KeyValueStoreListInterface
Overrides KeyValueListFactoryInterface::get
File
- src/
KeyValueStore/ KeyValueDatabaseListFactory.php, line 32
Class
Namespace
Drupal\key_value\KeyValueStoreCode
public function get($collection) {
return new DatabaseStorageList($collection, $this->serializer, $this->connection);
}