function deploy_list_multiple_delete_confirm_submit in Deploy - Content Staging 6
Form submit callback for deploy_list_multiple_delete_confirm().
1 string reference to 'deploy_list_multiple_delete_confirm_submit'
- deploy_list_multiple_delete_confirm in ./
deploy.plans.admin.inc - Confirmation form for deploy plan item deletes.
File
- ./
deploy.plans.admin.inc, line 228 - Page handlers for deploy plan admin.
Code
function deploy_list_multiple_delete_confirm_submit($form, &$form_state) {
if ($form_state['values']['confirm']) {
foreach ($form_state['values']['items'] as $iid => $value) {
deploy_plan_item_delete(array(
'iid' => $iid,
));
}
drupal_set_message(t('The plan items have been removed.'));
}
$form_state['redirect'] = 'admin/build/deploy';
}