You are here

function ga_push_module_implements_alter in GA Push 7

Same name and namespace in other branches
  1. 8 ga_push.module \ga_push_module_implements_alter()

Implements hook_module_implements_alter().

File

./ga_push.module, line 88
Drupal Module: GA Push.

Code

function ga_push_module_implements_alter(&$implementations, $hook) {

  // Ensure GA Push runs after Google Analytics.
  if ($hook == 'page_alter' && isset($implementations['ga_push'])) {
    $group = $implementations['ga_push'];
    unset($implementations['ga_push']);
    $implementations['ga_push'] = $group;
  }
}