function fillpdf_form_import_form_submit in FillPDF 7
Same name and namespace in other branches
- 6 fillpdf.admin.inc \fillpdf_form_import_form_submit()
- 7.2 fillpdf.admin.inc \fillpdf_form_import_form_submit()
Perform the import.
File
- ./
fillpdf.admin.inc, line 753 - 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}";
}