You are here

public function AccessCheck::__construct in Permissions by Term 8.2

Same name and namespace in other branches
  1. 8 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
Constructs AccessCheck object.
1 method overrides AccessCheck::__construct()
AccessChecker::__construct in modules/permissions_by_entity/src/Service/AccessChecker.php
Constructs AccessCheck object.

File

src/Service/AccessCheck.php, line 42

Class

AccessCheck
AccessCheckService class.

Namespace

Drupal\permissions_by_term\Service

Code

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