You are here

function node_access_example_menu in Examples for Developers 7

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

node_access_example/node_access_example.module, line 97
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;
}