You are here

function background_image_module_implements_alter in Background Image 8

Same name and namespace in other branches
  1. 2.x background_image.module \background_image_module_implements_alter()
  2. 2.0.x background_image.module \background_image_module_implements_alter()

Implements hook_module_implements_alter().

File

./background_image.module, line 30
Background Image module's procedural hooks and functions.

Code

function background_image_module_implements_alter(&$implementations, $hook) {
  if (($hook == 'tokens_alter' || $hook == 'token_info_alter') && isset($implementations['background_image'])) {
    $group = $implementations['background_image'];
    unset($implementations['background_image']);
    $implementations['background_image'] = $group;
  }
}