You are here

public function PreviewLinkAccessCheck::__construct in Preview Link 8

Same name and namespace in other branches
  1. 2.x src/Access/PreviewLinkAccessCheck.php \Drupal\preview_link\Access\PreviewLinkAccessCheck::__construct()
  2. 2.0.x src/Access/PreviewLinkAccessCheck.php \Drupal\preview_link\Access\PreviewLinkAccessCheck::__construct()

PreviewLinkAccessCheck constructor.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager: The entity type manager.

File

src/Access/PreviewLinkAccessCheck.php, line 28

Class

PreviewLinkAccessCheck
Preview link access check.

Namespace

Drupal\preview_link\Access

Code

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