function googleanalytics_theme_registry_alter in Google Analytics 6.4
Implementation of hook_theme_registry_alter().
File
- ./
googleanalytics.module, line 57 - Drupal Module: Google Analytics
Code
function googleanalytics_theme_registry_alter(&$registry) {
// Add custom preprocess function to the beginning of the stack.
// This allows use of the drupal_add_js() function before $vars is populated.
array_unshift($registry['page']['preprocess functions'], 'googleanalytics_add_js');
}