function _print_pdf_settings_validate in Printer, email and PDF versions 7.2
Same name and namespace in other branches
- 5.4 print_pdf/print_pdf.admin.inc \_print_pdf_settings_validate()
- 5.3 print_pdf/print_pdf.admin.inc \_print_pdf_settings_validate()
- 6 print_pdf/print_pdf.admin.inc \_print_pdf_settings_validate()
- 7 print_pdf/print_pdf.admin.inc \_print_pdf_settings_validate()
- 5.x print_pdf/print_pdf.admin.inc \_print_pdf_settings_validate()
Form validation handler for print_pdf_settings().
Parameters
array $form: Form.
array $form_state: Form state.
See also
1 string reference to '_print_pdf_settings_validate'
- print_pdf_settings in print_pdf/
print_pdf.admin.inc - Form constructor for the PDF version module settings form.
File
- print_pdf/
print_pdf.admin.inc, line 173 - Contains the administrative functions of the PDF version module.
Code
function _print_pdf_settings_validate($form, &$form_state) {
if (empty($form_state['values']['print_pdf_pdf_tool'])) {
form_set_error('print_pdf_pdf_tool', t("No PDF tool selected"));
}
}