You are here

public function PreviewLinkAccessCheck::__construct in Preview Link 2.x

Same name and namespace in other branches
  1. 8 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\preview_link\PreviewLinkHostInterface $previewLinkHost: Preview link host service.

File

src/Access/PreviewLinkAccessCheck.php, line 31

Class

PreviewLinkAccessCheck
Preview link access check.

Namespace

Drupal\preview_link\Access

Code

public function __construct(PreviewLinkHostInterface $previewLinkHost) {
  $this->previewLinkHost = $previewLinkHost;
}