You are here

function ife_form_id_delete_form in Inline Form Errors 6.2

Same name and namespace in other branches
  1. 6 ife.settings.inc \ife_form_id_delete_form()
  2. 7.2 ife.settings.inc \ife_form_id_delete_form()
  3. 7 ife.settings.inc \ife_form_id_delete_form()

Confirm delete form for IFE form_ids

1 string reference to 'ife_form_id_delete_form'
ife_menu in ./ife.module
Implementation of hook_menu().

File

./ife.settings.inc, line 163
Admin settings pages

Code

function ife_form_id_delete_form($form_state, $form_id) {
  $form = array();
  $form['fid'] = array(
    '#value' => $form_id->form_id,
    '#type' => 'hidden',
  );
  return confirm_form($form, t('Are your sure you want to delete the form %form_id', array(
    '%form_id' => $form_id->form_id,
  )), 'admin/settings/ife', t('This action cannot be undone.'), t('Delete'));
}