function fillpdf_form_import_form_submit in FillPDF 7.2
Same name and namespace in other branches
- 6 fillpdf.admin.inc \fillpdf_form_import_form_submit()
- 7 fillpdf.admin.inc \fillpdf_form_import_form_submit()
Perform the import.
File
- ./
fillpdf.admin.inc, line 540 - Allows mappings of PDFs to site content
Code
function fillpdf_form_import_form_submit($form, &$form_state) {
$pdf_form = new stdClass();
$pdf_form->fid = $form_state['values']['fid'];
$mappings = $form_state['values']['mappings'];
fillpdf_import_mappings($pdf_form, $mappings);
$form_state['redirect'] = "admin/structure/fillpdf/{$pdf_form->fid}";
}