public NodePreviewAccessCheck::__construct(EntityManagerInterface $entity_manager)
Constructs a EntityCreateAccessCheck object.
Parameters
\Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager.
File
- core/modules/node/src/Access/NodePreviewAccessCheck.php, line 30
Class
- NodePreviewAccessCheck
- Determines access to node previews.
Namespace
Drupal\node\Access
Code
public function __construct(EntityManagerInterface $entity_manager) { $this->entityManager = $entity_manager; }
Please login to continue.