function vertical_tabs_example_menu in Examples for Developers 7
Same name and namespace in other branches
- 6 vertical_tabs_example/vertical_tabs_example.module \vertical_tabs_example_menu()
Implements hook_menu().
Gives us a simple explanation page.
Related topics
File
- vertical_tabs_example/
vertical_tabs_example.module, line 25 - Module file for vertical_tabs_example module.
Code
function vertical_tabs_example_menu() {
$items['examples/vertical_tabs'] = array(
'title' => 'Vertical tabs example',
'description' => 'Shows how vertical tabs can best be supported by a custom module',
'page callback' => '_vertical_tabs_example_explanation',
'access callback' => TRUE,
);
return $items;
}