1 vertical_tabs_example.module vertical_tabs_example_menu()

Implements hook_menu().

Gives us a simple explanation page.

Related topics

File

modules/examples/vertical_tabs_example/vertical_tabs_example.module, line 24
Hook implementations for the 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;
}