1 node_example.module node_example_menu()

Implements hook_menu().

We are providing a default page to illustrate the use of our custom node view mode that will live at http://example.com/?q=examples/node_example

Related topics

File

modules/examples/node_example/node_example.module, line 59
Module file for Node Example module.

Code

function node_example_menu() {
  $items['examples/node_example'] = array(
    'page callback' => 'node_example_page',
    'access arguments' => array('access content'),
    'title' => 'Node Example',
  );
  return $items;
}