You are here

function print_theme_registry_alter in Printer, email and PDF versions 6

Same name and namespace in other branches
  1. 5.x print.module \print_theme_registry_alter()

Implementation of hook_theme_registry_alter().

File

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

Code

function print_theme_registry_alter(&$theme_registry) {
  $theme_registry['print_node']['theme paths'] = array_merge($theme_registry['print_node']['theme paths'], $theme_registry['node']['theme paths']);
  $theme_registry['print_page']['theme paths'] = array_merge($theme_registry['print_page']['theme paths'], $theme_registry['page']['theme paths']);
}