You are here

function magic_theme_registry_alter in Magic 7.2

Same name and namespace in other branches
  1. 7 magic.module \magic_theme_registry_alter()

Implements hook_theme_registry_alter().

File

./magic.module, line 169
Keep Frontend DRY; sprinkle it with MAGIC!

Code

function magic_theme_registry_alter(&$registry) {
  if (($index = array_search('template_process_html', $registry['html']['process functions'], TRUE)) !== FALSE) {
    array_splice($registry['html']['process functions'], $index, 1, 'magic_template_process_html_override');
  }
}