function deploy_ui_empty_plan_form in Deploy - Content Staging 7.2
Same name and namespace in other branches
- 7.3 modules/deploy_ui/deploy_ui.pages.inc \deploy_ui_empty_plan_form()
Form constructor for the empty plan page.
1 string reference to 'deploy_ui_empty_plan_form'
- deploy_ui_menu in modules/
deploy_ui/ deploy_ui.module - Implementation of hook_menu().
File
- modules/
deploy_ui/ deploy_ui.pages.inc, line 158 - Deploy UI page functions.
Code
function deploy_ui_empty_plan_form($form, &$form_state, $plan) {
$form = array();
$form['deploy_plan'] = array(
'#type' => 'value',
'#value' => $plan,
);
return confirm_form($form, t('Are you sure you want to empty the @name plan?', array(
'@name' => $plan->name,
)), 'admin/structure/deploy', t('Emptying the plan will remove all items from the plan.'), t('Empty'), t('Cancel'));
}