You are here

function feedback_delete_confirm in Feedback 7.2

Form constructor for the feedback delete confirmation form.

Parameters

$entry: The feedback entry to delete.

See also

feedback_delete_confirm_submit()

2 string references to 'feedback_delete_confirm'
feedback_menu in ./feedback.module
Implements hook_menu().
feedback_mollom_form_list in ./feedback.module
Implements hook_mollom_form_list().

File

./feedback.admin.inc, line 452
Administrative functionality for Feedback module.

Code

function feedback_delete_confirm($form, &$form_state, $entry) {
  $form['fid'] = array(
    '#type' => 'value',
    '#value' => $entry->fid,
  );
  $output = confirm_form($form, t('Are you sure you want to delete the feedback entry?'), 'admin/reports/feedback', NULL, t('Delete'));
  return $output;
}