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