function print_theme in Printer, email and PDF versions 6
Same name and namespace in other branches
- 7.2 print.module \print_theme()
- 7 print.module \print_theme()
- 5.x print.module \print_theme()
Implementation of hook_theme().
File
- ./
print.module, line 95 - 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',
),
);
}