NodePreviewAccessCheck
class NodePreviewAccessCheck implements AccessInterface (View source)
Determines access to node previews.
Properties
| protected EntityTypeManagerInterface | $entityTypeManager | The entity type manager service. |
Methods
__construct(EntityTypeManagerInterface $entity_type_manager)
Constructs an EntityCreateAccessCheck object.
access(AccountInterface $account, NodeInterface $node_preview)
Checks access to the node preview page.
Details
__construct(EntityTypeManagerInterface $entity_type_manager)
Constructs an EntityCreateAccessCheck object.
AccessResultInterface
access(AccountInterface $account, NodeInterface $node_preview)
Checks access to the node preview page.