public function StorageBase::__construct in Service Container 7.2
Same name and namespace in other branches
- 7 lib/Drupal/Core/KeyValueStore/StorageBase.php \Drupal\Core\KeyValueStore\StorageBase::__construct()
Implements Drupal\Core\KeyValueStore\KeyValueStoreInterface::__construct().
1 call to StorageBase::__construct()
- DatabaseStorage::__construct in lib/
Drupal/ Core/ KeyValueStore/ DatabaseStorage.php - Overrides Drupal\Core\KeyValueStore\StorageBase::__construct().
1 method overrides StorageBase::__construct()
- DatabaseStorage::__construct in lib/
Drupal/ Core/ KeyValueStore/ DatabaseStorage.php - Overrides Drupal\Core\KeyValueStore\StorageBase::__construct().
File
- lib/
Drupal/ Core/ KeyValueStore/ StorageBase.php, line 25 - Contains \Drupal\Core\KeyValueStore\StorageBase.
Class
- StorageBase
- Provides a base class for key/value storage implementations.
Namespace
Drupal\Core\KeyValueStoreCode
public function __construct($collection) {
$this->collection = $collection;
}