public function StorageBase::__construct in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/KeyValueStore/StorageBase.php \Drupal\Core\KeyValueStore\StorageBase::__construct()
- 9 core/lib/Drupal/Core/KeyValueStore/StorageBase.php \Drupal\Core\KeyValueStore\StorageBase::__construct()
File
- core/
lib/ Drupal/ Core/ KeyValueStore/ StorageBase.php, line 20
Class
- StorageBase
- Provides a base class for key/value storage implementations.
Namespace
Drupal\Core\KeyValueStoreCode
public function __construct($collection) {
$this->collection = $collection;
}