function addtocal_module_implements_alter in Add to Cal 7
Same name and namespace in other branches
- 8.2 addtocal.module \addtocal_module_implements_alter()
Implements hook_module_implements_alter().
File
- ./
addtocal.module, line 47 - addtocal.module General functions and hook implementations.
Code
function addtocal_module_implements_alter(&$implementations, $hook) {
if ($hook == 'token_info_alter') {
// This is sometimes happening before the token module adds fields. Lets
// move it down in order to make it so it doesn't cause tokens to not
// run for date fields.
unset($implementations['addtocal']);
$implementations['addtocal'] = 'tokens';
}
}