Created
July 22, 2013 17:43
-
-
Save vladdancer/6055913 to your computer and use it in GitHub Desktop.
Alter theme registry
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Implements hook_theme_registry_alter(). | |
* | |
* @param $theme_registry | |
* Drupal theme registry that could be changed. | |
*/ | |
function azr_catalog_theme_registry_alter(&$theme_registry) { | |
if (($key = array_search('crumbs_preprocess_page', $theme_registry['page']['preprocess functions'])) !== NULL) { | |
unset($theme_registry['page']['preprocess functions'][$key]); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment