| 7 node_test.module | node_test_node_grants_alter(&$grants, $account, $op) |
| 8 node_test.module | node_test_node_grants_alter(&$grants, $account, $op) |
Implements hook_node_grants_alter().
File
- modules/
node/ tests/ node_test.module, line 118 - Dummy module implementing node related hooks to test API interaction with the Node module.
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();
}
Login or register to post comments