You are here

function print_pdf_theme in Printer, email and PDF versions 5.x

Same name and namespace in other branches
  1. 6 print_pdf/print_pdf.module \print_pdf_theme()
  2. 7 print_pdf/print_pdf.module \print_pdf_theme()

Implementation of hook_theme().

File

print_pdf/print_pdf.module, line 48
Displays Printer-friendly versions of Drupal pages.

Code

function print_pdf_theme() {
  return array(
    'print_pdf_format_link' => array(
      'arguments' => array(),
    ),
    'print_pdf_dompdf_footer' => array(
      'arguments' => array(
        'html' => '',
      ),
      'file' => 'print_pdf.pages.inc',
    ),
    'print_pdf_tcpdf_header' => array(
      'arguments' => array(
        'pdf' => NULL,
        'html' => '',
        'font' => array(),
      ),
      'file' => 'print_pdf.pages.inc',
    ),
    'print_pdf_tcpdf_page' => array(
      'arguments' => array(
        'pdf' => NULL,
      ),
      'file' => 'print_pdf.pages.inc',
    ),
    'print_pdf_tcpdf_content' => array(
      'arguments' => array(
        'pdf' => NULL,
        'html' => '',
        'font' => array(),
      ),
      'file' => 'print_pdf.pages.inc',
    ),
    'print_pdf_tcpdf_footer' => array(
      'arguments' => array(
        'pdf' => NULL,
        'html' => '',
        'font' => array(),
      ),
      'file' => 'print_pdf.pages.inc',
    ),
    'print_pdf_tcpdf_footer2' => array(
      'arguments' => array(
        'pdf' => NULL,
      ),
      'file' => 'print_pdf.pages.inc',
    ),
  );
}