You are here

public function ReferenceAddAccessCheck::__construct in Bibliography & Citation 2.0.x

Same name and namespace in other branches
  1. 8 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;
}