summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohnAlbin2009-11-03 17:35:23 +0000
committerJohnAlbin2009-11-03 17:35:23 +0000
commit16b8d1be20a3c7e18e9980fc2cc074d9f8e38025 (patch)
treeb5b6398bbba7e5031591b193bf6bf63d76251dba
parentb63957abab796a6605dc3ecac3fa982c37994ad2 (diff)
Added manual registration of preprocess and process functions to region hook in zen_theme().
-rw-r--r--zen-internals/template.theme-registry.inc8
1 files changed, 8 insertions, 0 deletions
diff --git a/zen-internals/template.theme-registry.inc b/zen-internals/template.theme-registry.inc
index 72d8a6c..ea7a860 100644
--- a/zen-internals/template.theme-registry.inc
+++ b/zen-internals/template.theme-registry.inc
@@ -68,6 +68,14 @@ function _zen_theme(&$existing, $type, $theme, $path) {
//'pattern' => 'region_',
'path' => drupal_get_path('theme', 'zen') . '/templates',
'template' => 'region',
+ // We manually register the preprocess and process functions, since
+ // Drupal won't auto-register template_preprocess or process functions.
+ 'preprocess functions' => array(
+ 'template_preprocess',
+ 'zen_preprocess',
+ 'zen_preprocess_region',
+ 'zen_process',
+ ),
),
);
}