1 node_access_example.module node_access_example_menu()

Implements hook_menu().

This path provides a page, with some instructions for the user, and some statistics about node access changes implemented by this module.

See also

hook_menu()

Related topics

File

modules/examples/node_access_example/node_access_example.module, line 90
Module file illustrating API-based node access.

Code

function node_access_example_menu() {
  $items['examples/node_access'] = array(
    'title' => 'Node Access Example',
    'page callback' => 'node_access_example_private_node_listing',
    'access callback' => TRUE,
  );
  return $items;
}