function vertical_tabs_example_menu in Examples for Developers 6
Same name and namespace in other branches
- 7 vertical_tabs_example/vertical_tabs_example.module \vertical_tabs_example_menu()
Implements hook_menu for a simple explanation page.
Related topics
File
- vertical_tabs_example/
vertical_tabs_example.module, line 27 - Shows how to integrate your custom node options with vertical tabs module in Drupal 6. This example does not cover how to save / load custom setting, and only deals with elements visibility.
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;
}