You are here

public function ReferencePreviewAccessCheck::__construct in Bibliography & Citation 8

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

Constructs a ReferencePreviewAccessCheck object.

Parameters

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

File

modules/bibcite_entity/src/Access/ReferencePreviewAccessCheck.php, line 30

Class

ReferencePreviewAccessCheck
Determines access to reference previews.

Namespace

Drupal\bibcite_entity\Access

Code

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