function node_example_menu in Examples for Developers 7
Same name and namespace in other branches
- 6 node_example/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
- node_example/
node_example.module, line 65 - 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;
}