function deploy_ui_menu in Deploy - Content Staging 7.2
Same name and namespace in other branches
- 7.3 modules/deploy_ui/deploy_ui.module \deploy_ui_menu()
Implementation of hook_menu().
File
- modules/
deploy_ui/ deploy_ui.module, line 6
Code
function deploy_ui_menu() {
$items = array();
$items['admin/structure/deploy'] = array(
'title' => 'Deployment',
'description' => 'Manage deployment plans, endpoints etc.',
'page callback' => 'deploy_ui_overview_page',
'access arguments' => array(
'administer deployments',
),
'file' => 'deploy_ui.pages.inc',
'type' => MENU_NORMAL_ITEM,
);
$items['admin/structure/deploy/overview'] = array(
'title' => 'Overview',
'description' => 'Administrative overview over deployments',
'type' => MENU_DEFAULT_LOCAL_TASK,
'weight' => -50,
);
$items['admin/structure/deploy/%deploy_plan/empty'] = array(
'title' => 'Empty',
'description' => 'Remove all content from the plan',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'deploy_ui_empty_plan_form',
3,
),
'access arguments' => array(
'administer deployments',
),
'file' => 'deploy_ui.pages.inc',
'type' => MENU_NORMAL_ITEM,
);
return $items;
}