public NodeGrantDatabaseStorageInterface::access(NodeInterface $node, $operation, AccountInterface $account)
Determines access to nodes based on node grants.
Parameters
\Drupal\node\NodeInterface $node: The entity for which to check 'create' access.
string $operation: The entity operation. Usually one of 'view', 'edit', 'create' or 'delete'.
\Drupal\Core\Session\AccountInterface $account: The user for which to check access.
Return value
\Drupal\Core\Access\AccessResultInterface The access res