You are here

function nodeaccess_grants in Nodeaccess 5

Same name and namespace in other branches
  1. 6.2 nodeaccess.module \nodeaccess_grants()
  2. 6 nodeaccess.module \nodeaccess_grants()

Menu callback. Draws the grant tab.

1 string reference to 'nodeaccess_grants'
nodeaccess_menu in ./nodeaccess.module
Implementation of hook_menu().

File

./nodeaccess.module, line 261

Code

function nodeaccess_grants($nid) {
  $node = node_load($nid);
  drupal_set_title(check_plain($node->title));
  return drupal_get_form('nodeaccess_grants_form', $node->nid);
}