function node_test_node_grants_alter
7.x node_test.module | node_test_node_grants_alter(&$grants, $account, $op) |
Implements hook_node_grants_alter().
File
- drupal-7.x/
modules/ node/ tests/ node_test.module, line 120 - A dummy module for testing node related hooks.
Code
function node_test_node_grants_alter(&$grants, $account, $op) {
// Return an empty array of grants to prove that we can alter by reference.
$grants = array();
}