function deploy_ui_flatten_plan_form in Deploy - Content Staging 7.3
Callback for the flatten plan page.
1 string reference to 'deploy_ui_flatten_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 68 - Deploy UI page functions.
Code
function deploy_ui_flatten_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 remove all duplicate content from the @plan plan?', array(
'@plan' => $plan->title,
)), 'admin/structure/deploy/plans/list/' . $plan->name . '/view', t('This operation will remove all older revisions from a plan so only the latest versions remain. This operation can not be undone.'), t('Remove Duplicates'), t('Cancel'));
}