NodeAccessControlHandler::deleteGrants

public NodeAccessControlHandler::deleteGrants()

Deletes all node access entries.

Overrides NodeAccessControlHandlerInterface::deleteGrants

File

core/modules/node/src/NodeAccessControlHandler.php, line 177

Class

NodeAccessControlHandler
Defines the access control handler for the node entity type.

Namespace

Drupal\node

Code

public function deleteGrants() {
  $this->grantStorage->delete();
}
doc_Drupal
2016-10-29 09:30:30
Comments
Leave a Comment

Please login to continue.