You are here

function acl_node_test_node_grants_alter in ACL 8

Same name and namespace in other branches
  1. 7 tests/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/modules/acl_node_test/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();
}