public function PreviewLinkAccessCheck::__construct in Preview Link 2.0.x
Same name and namespace in other branches
- 8 src/Access/PreviewLinkAccessCheck.php \Drupal\preview_link\Access\PreviewLinkAccessCheck::__construct()
- 2.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\AccessCode
public function __construct(PreviewLinkHostInterface $previewLinkHost) {
$this->previewLinkHost = $previewLinkHost;
}