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_pagesCode
public function __construct(Connection $connection) {
$this->connection = $connection;
}