function mail_safety_module_implements_alter in Mail Safety 8
Same name and namespace in other branches
- 7.2 mail_safety.module \mail_safety_module_implements_alter()
- 7 mail_safety.module \mail_safety_module_implements_alter()
Implements hook_module_implements_alter().
Make sure our hook is called last.
File
- ./
mail_safety.module, line 58 - The core Mail Safety module file.
Code
function mail_safety_module_implements_alter(&$implementations, $hook) {
if ($hook == 'mail_alter' && isset($implementations['mail_safety'])) {
// Move mail_safety_mail_alter() to the end of the list.
$group = $implementations['mail_safety'];
unset($implementations['mail_safety']);
$implementations['mail_safety'] = $group;
}
}