public function NodeAccessControlHandlerInterface::checkAllGrants in Drupal 9
Same name and namespace in other branches
- 8 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\nodeCode
public function checkAllGrants(AccountInterface $account);