You are here

public function ImageReplaceDatabaseStorage::__construct in Image Replace 8

Constructs a ImageReplaceDatabaseStorage object.

Parameters

\Drupal\Core\Database\Connection $database: The database connection to be used.

File

src/ImageReplaceDatabaseStorage.php, line 25

Class

ImageReplaceDatabaseStorage
Defines a class for image_replace database storage operations.

Namespace

Drupal\image_replace

Code

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