function NodeAccessControlHandlerInterface::checkAllGrants

Same name in other branches
  1. 9 core/modules/node/src/NodeAccessControlHandlerInterface.php \Drupal\node\NodeAccessControlHandlerInterface::checkAllGrants()
  2. 8.9.x core/modules/node/src/NodeAccessControlHandlerInterface.php \Drupal\node\NodeAccessControlHandlerInterface::checkAllGrants()
  3. 10 core/modules/node/src/NodeAccessControlHandlerInterface.php \Drupal\node\NodeAccessControlHandlerInterface::checkAllGrants()

Checks all grants for a given account.

Parameters

\Drupal\Core\Session\AccountInterface $account: A user object representing the user for whom the operation is to be performed.

Return value

int Status of the access check.

1 method overrides NodeAccessControlHandlerInterface::checkAllGrants()
NodeAccessControlHandler::checkAllGrants in core/modules/node/src/NodeAccessControlHandler.php
Checks all grants for a given account.

File

core/modules/node/src/NodeAccessControlHandlerInterface.php, line 59

Class

NodeAccessControlHandlerInterface
Node specific entity access control methods.

Namespace

Drupal\node

Code

public function checkAllGrants(AccountInterface $account);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.