You are here

public function AcsfVariableStorage::__construct in Acquia Cloud Site Factory Connector 8.2

Same name and namespace in other branches
  1. 8 src/AcsfVariableStorage.php \Drupal\acsf\AcsfVariableStorage::__construct()

Constructor.

Parameters

\Drupal\Core\Database\Connection $connection: The active database connection.

File

src/AcsfVariableStorage.php, line 25

Class

AcsfVariableStorage
Encapsulates functionality to interact with ACSF variables.

Namespace

Drupal\acsf

Code

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