You are here

function node_example_menu in Examples for Developers 6

Same name and namespace in other branches
  1. 7 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;
}