function NodeAccessControlHandlerInterface::countGrants

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

Counts available node grants.

Return value

int Returns the amount of node grants.

1 method overrides NodeAccessControlHandlerInterface::countGrants()
NodeAccessControlHandler::countGrants in core/modules/node/src/NodeAccessControlHandler.php
Counts available node grants.

File

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

Class

NodeAccessControlHandlerInterface
Node specific entity access control methods.

Namespace

Drupal\node

Code

public function countGrants();

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