1 node_type_example.module | node_type_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_type_example.
Related topics
File
- modules/
examples/ node_type_example/ node_type_example.module, line 49 - Hook implementations for the Node Type Example module.
Code
function node_type_example_menu() {
$items['examples/node_type_example'] = array(
'page callback' => 'node_type_example_page',
'access arguments' => array('access content'),
'title' => 'Node type example',
);
return $items;
}