NodeAddAccessCheck deprecated
class NodeAddAccessCheck implements AccessInterface (View source)
deprecated
Determines access to for node add pages.
Properties
| protected EntityTypeManagerInterface | $entityTypeManager | The entity type manager. |
Methods
__construct(EntityTypeManagerInterface $entity_type_manager)
Constructs an EntityCreateAccessCheck object.
access(AccountInterface $account, NodeTypeInterface $node_type = NULL)
Checks access to the node add page for the node type.
Details
__construct(EntityTypeManagerInterface $entity_type_manager)
Constructs an EntityCreateAccessCheck object.
AccessResultInterface
access(AccountInterface $account, NodeTypeInterface $node_type = NULL)
Checks access to the node add page for the node type.