public function AccessChecker::__construct in Permissions by Term 8.2
Same name and namespace in other branches
- 8 modules/permissions_by_entity/src/Service/AccessChecker.php \Drupal\permissions_by_entity\Service\AccessChecker::__construct()
Constructs AccessCheck object.
Parameters
Connection $database: The database connection.
Overrides AccessCheck::__construct
File
- modules/
permissions_by_entity/ src/ Service/ AccessChecker.php, line 42
Class
- AccessChecker
- Class AccessChecker.
Namespace
Drupal\permissions_by_entity\ServiceCode
public function __construct(EventDispatcherInterface $event_dispatcher, CheckedEntityCache $checked_entity_cache, EntityFieldManagerInterface $entityFieldManager, Connection $database) {
parent::__construct($database, $event_dispatcher, $entityFieldManager);
$this->eventDispatcher = $event_dispatcher;
$this->checkedEntityCache = $checked_entity_cache;
$this->event = new EntityFieldValueAccessDeniedEvent();
}