You are here

function vertical_tabs_config_menu in Vertical Tabs Config 7

Implements hook_menu().

File

./vertical_tabs_config.module, line 11
Vertical tabs config main file.

Code

function vertical_tabs_config_menu() {
  $items = array();
  $items['admin/config/user-interface/vertical_tabs_config'] = array(
    'title' => 'Vertical Tabs Config',
    'description' => 'Change vertical tabs configuration',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'vertical_tabs_config_admin_settings',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
    'file' => 'vertical_tabs_config.admin.inc',
  );
  $items['admin/config/user-interface/vertical_tabs_config/visibility'] = array(
    'title' => 'Vertical tabs visibility',
    'type' => MENU_DEFAULT_LOCAL_TASK,
    'weight' => 0,
  );
  $items['admin/config/user-interface/vertical_tabs_config/order'] = array(
    'title' => 'Vertical tabs order',
    'type' => MENU_LOCAL_TASK,
    'description' => 'Change vertical tabs order',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'vertical_tabs_config_admin_settings_order',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
    'file' => 'vertical_tabs_config.admin.inc',
    'weight' => 1,
  );
  return $items;
}