You are here

function adsense_cse_theme_registry_alter in Google AdSense integration 7

Implements hook_theme_registry_alter().

File

cse/adsense_cse.module, line 65
Displays Google AdSense ads on Drupal pages.

Code

function adsense_cse_theme_registry_alter(&$theme_registry) {
  $mod_path = drupal_get_path('module', 'adsense_cse');

  // Munge on a copy.
  $theme_registry_copy = $theme_registry;
  _theme_process_registry($theme_registry_copy, 'phptemplate', 'theme_engine', 'pow', $mod_path);
  $theme_registry += array_diff_key($theme_registry_copy, $theme_registry);
}