You are here

function addtocal_module_implements_alter in Add to Cal 8.2

Same name and namespace in other branches
  1. 7 addtocal.module \addtocal_module_implements_alter()

Implements hook_module_implements_alter().

File

./addtocal.module, line 77

Code

function addtocal_module_implements_alter(&$implementations, $hook) {
  if ($hook == 'tokens' || $hook == 'token_info' || $hook == 'token_info_alter' || $hook == 'tokens_alter') {

    // Make sure all token hooks in this module run after token and field modules.
    if (isset($implementations['addtocal'])) {
      $addtocal = $implementations['addtocal'];
      unset($implementations['addtocal']);
      $implementations['addtocal'] = $addtocal;
    }
  }
}