You are here

public function AccessCheck::__construct in Permissions by Term 8

Same name and namespace in other branches
  1. 8.2 src/Service/AccessCheck.php \Drupal\permissions_by_term\Service\AccessCheck::__construct()

Constructs AccessCheck object.

Parameters

Connection $database: The database connection.

1 call to AccessCheck::__construct()
AccessChecker::__construct in modules/permissions_by_entity/src/Service/AccessChecker.php
AccessChecker constructor.
1 method overrides AccessCheck::__construct()
AccessChecker::__construct in modules/permissions_by_entity/src/Service/AccessChecker.php
AccessChecker constructor.

File

src/Service/AccessCheck.php, line 35

Class

AccessCheck
AccessCheckService class.

Namespace

Drupal\permissions_by_term\Service

Code

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