public function NodePreviewAccessCheck::__construct in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/modules/node/src/Access/NodePreviewAccessCheck.php \Drupal\node\Access\NodePreviewAccessCheck::__construct()
Constructs a EntityCreateAccessCheck object.
Parameters
\Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager.
File
- core/
modules/ node/ src/ Access/ NodePreviewAccessCheck.php, line 35 - Contains \Drupal\node\Access\NodePreviewAccessCheck.
Class
- NodePreviewAccessCheck
- Determines access to node previews.
Namespace
Drupal\node\AccessCode
public function __construct(EntityManagerInterface $entity_manager) {
$this->entityManager = $entity_manager;
}