function calendar_systems_menu in Calendar Systems 6.3
Same name and namespace in other branches
- 8 calendar_systems.module \calendar_systems_menu()
- 6 calendar_systems.module \calendar_systems_menu()
- 6.2 calendar_systems.module \calendar_systems_menu()
- 7.3 calendar_systems.module \calendar_systems_menu()
- 7 calendar_systems.module \calendar_systems_menu()
- 7.2 calendar_systems.module \calendar_systems_menu()
Implementation of hook_menu().
File
- ./
calendar_systems.module, line 47
Code
function calendar_systems_menu() {
$items['admin/settings/calendar_systems'] = array(
'title' => 'Calendar systems',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'calendar_systems_profile_overview',
),
'description' => 'Assign calendar systems.',
'access arguments' => array(
'administer calendar_systems',
),
'file' => 'calendar_systems.admin.inc',
);
$items['admin/settings/calendar_systems/profile'] = array(
'title' => 'Profiles',
'description' => 'Assign calendar systems.',
'type' => MENU_DEFAULT_LOCAL_TASK,
);
$items['admin/settings/calendar_systems/profile/%/edit'] = array(
'title' => 'Edit',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'calendar_systems_profile_form',
4,
),
'access arguments' => array(
'administer calendar_systems',
),
'file' => 'calendar_systems.admin.inc',
'description' => 'Assign calendar systems.',
'tab_root' => 'admin/settings/calendar_systems/profile',
'tab_parent' => 'admin/settings/calendar_systems/profile/%',
'type' => MENU_LOCAL_TASK,
);
$items['admin/settings/calendar_systems/profile/%/delete'] = array(
'title' => 'Remove',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'calendar_systems_profile_delete_confirm',
4,
),
'access arguments' => array(
'administer calendar_systems',
),
'description' => 'Assign calendar systems.',
'file' => 'calendar_systems.admin.inc',
'tab_root' => 'admin/settings/calendar_systems/profile',
'tab_parent' => 'admin/settings/calendar_systems/profile/%calendar_systems_profile',
'type' => MENU_LOCAL_TASK,
'weight' => 10,
);
return $items;
}