function NodeAccessControlHandlerInterface::checkAllGrants
Same name in other branches
- 9 core/modules/node/src/NodeAccessControlHandlerInterface.php \Drupal\node\NodeAccessControlHandlerInterface::checkAllGrants()
- 8.9.x core/modules/node/src/NodeAccessControlHandlerInterface.php \Drupal\node\NodeAccessControlHandlerInterface::checkAllGrants()
- 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
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);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.