You are here

function hook_pdf_tool_version in Printer, email and PDF versions 7.2

Find out the version of the PDF library.

Parameters

string $pdf_tool: Filename of the tool to be analysed.

Return value

string version number of the library

4 functions implement hook_pdf_tool_version()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

print_pdf_dompdf_pdf_tool_version in print_pdf/lib_handlers/print_pdf_dompdf/print_pdf_dompdf.module
Implements hook_pdf_tool_version().
print_pdf_mpdf_pdf_tool_version in print_pdf/lib_handlers/print_pdf_mpdf/print_pdf_mpdf.module
Implements hook_pdf_tool_version().
print_pdf_tcpdf_pdf_tool_version in print_pdf/lib_handlers/print_pdf_tcpdf/print_pdf_tcpdf.module
Implements hook_pdf_tool_version().
print_pdf_wkhtmltopdf_pdf_tool_version in print_pdf/lib_handlers/print_pdf_wkhtmltopdf/print_pdf_wkhtmltopdf.module
Implements hook_pdf_tool_version().

File

print_pdf/print_pdf.api.php, line 58
Hooks provided by the PDF version module.

Code

function hook_pdf_tool_version($pdf_tool) {
  require_once DRUPAL_ROOT . '/' . $pdf_tool;
  return '1.0';
}