You are here

function forena_pdf_configure_submit in Forena Reports 7.4

Same name and namespace in other branches
  1. 8 forena_pdf/forena_pdf.module \forena_pdf_configure_submit()
  2. 7.5 forena_pdf.module \forena_pdf_configure_submit()
  3. 7.3 forena_pdf.module \forena_pdf_configure_submit()

File

./forena_pdf.module, line 144
Forena pdf generation module @author metzlerd

Code

function forena_pdf_configure_submit($form, &$form_state) {
  variable_set('forena_pdf_generator', $form_state['values']['forena_pdf_generator']);
  variable_set('forena_pdf_prince_path', $form_state['values']['forena_pdf_prince_path']);
  variable_set('forena_pdf_disable_links', $form_state['values']['forena_pdf_disable_links']);
  variable_set('forena_pdf_docraptor_url', $form_state['values']['forena_pdf_docraptor_url']);
  variable_set('forena_pdf_docraptor_key', $form_state['values']['forena_pdf_docraptor_key']);
  variable_set('forena_pdf_docraptor_test', $form_state['values']['forena_pdf_docraptor_test']);
  drupal_set_message(t('Options Saved'));
}