function print_pdf_theme in Printer, email and PDF versions 7
Same name and namespace in other branches
- 6 print_pdf/print_pdf.module \print_pdf_theme()
- 5.x print_pdf/print_pdf.module \print_pdf_theme()
Implements hook_theme().
File
- print_pdf/
print_pdf.module, line 57 - Displays Printer-friendly versions of Drupal pages.
Code
function print_pdf_theme() {
return array(
'print_pdf_format_link' => array(
'variables' => array(),
),
'print_pdf_dompdf_footer' => array(
'variables' => array(
'html' => '',
),
'file' => 'print_pdf.pages.inc',
),
'print_pdf_tcpdf_header' => array(
'variables' => array(
'pdf' => NULL,
'html' => '',
'font' => array(),
),
'file' => 'print_pdf.pages.inc',
),
'print_pdf_tcpdf_page' => array(
'variables' => array(
'pdf' => NULL,
),
'file' => 'print_pdf.pages.inc',
),
'print_pdf_tcpdf_content' => array(
'variables' => array(
'pdf' => NULL,
'html' => '',
'font' => array(),
),
'file' => 'print_pdf.pages.inc',
),
'print_pdf_tcpdf_footer' => array(
'variables' => array(
'pdf' => NULL,
'html' => '',
'font' => array(),
),
'file' => 'print_pdf.pages.inc',
),
'print_pdf_tcpdf_footer2' => array(
'variables' => array(
'pdf' => NULL,
),
'file' => 'print_pdf.pages.inc',
),
);
}