You are here

function acl_node_test_node_grants_alter in ACL 7

Same name and namespace in other branches
  1. 8 tests/modules/acl_node_test/acl_node_test.module \acl_node_test_node_grants_alter()

Implements hook_node_grants_alter().

Returns an empty array of grants to prove that we can alter by reference.

File

tests/acl_node_test.module, line 75
Dummy module implementing node related hooks to test API interaction with the Node module.

Code

function acl_node_test_node_grants_alter(&$grants, $account, $op) {
  $grants = array();
}