You are here

function print_theme in Printer, email and PDF versions 7

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

Implements hook_theme().

File

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

Code

function print_theme() {
  return array(
    'print_format_link' => array(
      'variables' => array(),
    ),
    'print' => array(
      'variables' => array(
        'print' => array(),
        'type' => PRINT_HTML_FORMAT,
        'node' => NULL,
      ),
      'template' => 'print',
    ),
  );
}