public function SqlGroupGraphStorage::__construct in Subgroup (Graph) 1.0.x
Contracts a new class instance.
Parameters
\Drupal\Core\Database\Connection $connection: The database connection.
File
- src/
Graph/ SqlGroupGraphStorage.php, line 69
Class
- SqlGroupGraphStorage
- SQL based storage of the group relationship graph.
Namespace
Drupal\ggroup\GraphCode
public function __construct(Connection $connection) {
$this->connection = $connection;
}