You are here

function print_pdf_wkhtmltopdf_flush_caches in Printer, email and PDF versions 7.2

Implements hook_flush_caches().

File

print_pdf/lib_handlers/print_pdf_wkhtmltopdf/print_pdf_wkhtmltopdf.module, line 48
Generate a PDF for the print_pdf module using the wkhtmltopdf library.

Code

function print_pdf_wkhtmltopdf_flush_caches() {

  // Delete the cached version info during cache clear.
  variable_del('print_pdf_wkhtmltopdf_version');
  return array();
}