function fillpdf_form_delete_confirm_submit in FillPDF 7
Same name and namespace in other branches
- 5 fillpdf.module \fillpdf_form_delete_confirm_submit()
- 6 fillpdf.admin.inc \fillpdf_form_delete_confirm_submit()
- 7.2 fillpdf.admin.inc \fillpdf_form_delete_confirm_submit()
Delete form submit.
File
- ./
fillpdf.admin.inc, line 635 - Allows mappings of PDFs to site content.
Code
function fillpdf_form_delete_confirm_submit($form, &$form_state) {
$fid = $form['#pdf_form']->fid;
fillpdf_form_delete_template($fid);
drupal_set_message(t('Your form has been deleted.'));
$form_state['redirect'] = 'admin/structure/fillpdf';
}