Browse Source

Changed hook_preprocess_HOOK() to template_preprocess_HOOK()

pull/672/head
Neil Mader 9 years ago
parent
commit
535641fe03
  1. 4
      theme/theme.inc

4
theme/theme.inc

@ -170,9 +170,9 @@ function template_preprocess_islandora_default(&$variables) {
}
/**
* Implements hook_preprocess_theme().
* Implements template_preprocess_theme().
*/
function islandora_preprocess_islandora_object_print(array &$variables) {
function template_preprocess_islandora_object_print(array &$variables) {
// Apply the print CSS in non print context.
$only_print_media = function($o) {
return $o['media'] == 'print';

Loading…
Cancel
Save