function ife_form_id_delete_form in Inline Form Errors 7.2
Same name and namespace in other branches
- 6.2 ife.settings.inc \ife_form_id_delete_form()
- 6 ife.settings.inc \ife_form_id_delete_form()
- 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 - Implements hook_menu().
File
- ./
ife.settings.inc, line 180 - Admin settings pages.
Code
function ife_form_id_delete_form($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/config/user-interface/ife', t('This action cannot be undone.'), t('Delete'));
}