function workflow_actions_remove_form in Workflow 5
1 string reference to 'workflow_actions_remove_form'
- workflow_menu in ./
workflow.module - Implementation of hook_menu().
File
- ./
workflow.module, line 1304
Code
function workflow_actions_remove_form($wid, $tid, $aid) {
$form = array();
$form['wid'] = array(
'#type' => 'value',
'#value' => $wid,
);
$form['tid'] = array(
'#type' => 'value',
'#value' => $tid,
);
$form['aid'] = array(
'#type' => 'value',
'#value' => $aid,
);
$actions = actions_get_all_actions();
$output = confirm_form($form, t('Are you sure you want to delete the action %title?', array(
'%title' => $actions[$aid]['description'],
)), $_GET['destination'] ? $_GET['destination'] : 'admin/build/workflow/actions/' . $wid, t('You can add it again later if you wish.'), t('Delete'), t('Cancel'));
return $output;
}