Same name and namespace in other branches
  1. 7.x-1.x node_example/node_example.module \node_example_menu()

Implementation of hook_menu().

Related topics

File

node_example/node_example.module, line 41
This is an example outlining how a module can be used to define a new node type.

Code

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