You are here

public function ProtectedPagesStorage::__construct in Protected Pages 8

Constructs a new protected page storage service.

Parameters

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

File

src/ProtectedPagesStorage.php, line 26

Class

ProtectedPagesStorage
Defines the protected page storage service.

Namespace

Drupal\protected_pages

Code

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