You are here

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

Same name and namespace in other branches
  1. 6 print.module \print_theme()
  2. 7.2 print.module \print_theme()
  3. 7 print.module \print_theme()

Implementation of hook_theme().

File

./print.module, line 93
Displays Printer-friendly versions of Drupal pages.

Code

function print_theme() {
  return array(
    'print_format_link' => array(
      'arguments' => array(),
    ),
    'print_node' => array(
      'arguments' => array(
        'node' => NULL,
        'teaser' => FALSE,
        'page' => FALSE,
        'type' => PRINT_HTML_FORMAT,
      ),
      'template' => 'print_node',
    ),
    'print_page' => array(
      'arguments' => array(
        'print' => NULL,
        'type' => PRINT_HTML_FORMAT,
        'node' => NULL,
      ),
      'template' => 'print',
    ),
  );
}