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