You are here

public function ReferenceAddAccessCheck::__construct in Bibliography & Citation 8

Same name and namespace in other branches
  1. 2.0.x modules/bibcite_entity/src/Access/ReferenceAddAccessCheck.php \Drupal\bibcite_entity\Access\ReferenceAddAccessCheck::__construct()

Constructs a EntityCreateAccessCheck object.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity manager.

File

modules/bibcite_entity/src/Access/ReferenceAddAccessCheck.php, line 31

Class

ReferenceAddAccessCheck
Determines access to for reference add pages.

Namespace

Drupal\bibcite_entity\Access

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager) {
  $this->entityTypeManager = $entity_type_manager;
}