Browse Source

Changed hook_preprocess() to template_preprocess_HOOK()

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

4
theme/theme.inc

@ -640,9 +640,9 @@ function template_preprocess_islandora_dublin_core_display(array &$variables) {
} }
/** /**
* Implements hook_preprocess(). * Implements template_preprocess_HOOK().
*/ */
function islandora_preprocess_islandora_dublin_core_description(array &$variables) { function template_preprocess_islandora_dublin_core_description(array &$variables) {
$islandora_object = $variables['islandora_object']; $islandora_object = $variables['islandora_object'];
if (islandora_datastream_access(ISLANDORA_VIEW_OBJECTS, $islandora_object['DC'])) { if (islandora_datastream_access(ISLANDORA_VIEW_OBJECTS, $islandora_object['DC'])) {
try { try {

Loading…
Cancel
Save