function deploy_ui_menu in Deploy - Content Staging 7.3
Same name and namespace in other branches
- 7.2 modules/deploy_ui/deploy_ui.module \deploy_ui_menu()
Implementation of hook_menu().
File
- modules/
deploy_ui/ deploy_ui.module, line 10 - Deploy Admin UI
Code
function deploy_ui_menu() {
$items = array();
$items['admin/structure/deploy/plans/list/%ctools_export_ui/empty'] = array(
'title' => 'Empty',
'description' => 'Remove all content from the plan',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'deploy_ui_empty_plan_form',
5,
),
'access callback' => 'deploy_ui_user_access',
'access arguments' => array(
'edit deployment plans',
),
'file' => 'deploy_ui.pages.inc',
'type' => MENU_LOCAL_ACTION,
);
$items['admin/structure/deploy/plans/list/%ctools_export_ui/flatten'] = array(
'title' => 'Remove Duplicates',
'description' => 'Remove duplicate content from the plan',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'deploy_ui_flatten_plan_form',
5,
),
'access callback' => 'deploy_ui_user_access',
'access arguments' => array(
'edit deployment plans',
),
'file' => 'deploy_ui.pages.inc',
'type' => MENU_LOCAL_ACTION,
);
return $items;
}