You are here

function print_theme in Printer, email and PDF versions 7.2

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

Implements hook_theme().

File

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

Code

function print_theme() {
  return array(
    'print' => array(
      'variables' => array(
        'node' => NULL,
        'query' => NULL,
        'format' => '',
        'expand_css' => FALSE,
        'message' => '',
      ),
      'template' => 'print',
      'file' => 'print.pages.inc',
    ),
    'print_published' => array(
      'variables' => array(),
      'file' => 'print.pages.inc',
    ),
    'print_breadcrumb' => array(
      'variables' => array(
        'node' => NULL,
      ),
      'file' => 'print.pages.inc',
    ),
    'print_footer' => array(
      'variables' => array(),
      'file' => 'print.pages.inc',
    ),
    'print_sourceurl' => array(
      'variables' => array(
        'url' => '',
        'node' => NULL,
        'cid' => NULL,
      ),
      'file' => 'print.pages.inc',
    ),
    'print_url_list' => array(
      'variables' => array(),
      'file' => 'print.pages.inc',
    ),
  );
}