You are here

public function StorageBase::__construct in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/KeyValueStore/StorageBase.php \Drupal\Core\KeyValueStore\StorageBase::__construct()
  2. 10 core/lib/Drupal/Core/KeyValueStore/StorageBase.php \Drupal\Core\KeyValueStore\StorageBase::__construct()
1 call to StorageBase::__construct()
DatabaseStorage::__construct in core/lib/Drupal/Core/KeyValueStore/DatabaseStorage.php
Overrides Drupal\Core\KeyValueStore\StorageBase::__construct().
1 method overrides StorageBase::__construct()
DatabaseStorage::__construct in core/lib/Drupal/Core/KeyValueStore/DatabaseStorage.php
Overrides 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\KeyValueStore

Code

public function __construct($collection) {
  $this->collection = $collection;
}