You are here

function forward_module_implements_alter in Forward 8

Same name and namespace in other branches
  1. 8.3 forward.module \forward_module_implements_alter()
  2. 8.2 forward.module \forward_module_implements_alter()

Implements hook_module_implements_alter().

File

./forward.module, line 212
Allows forwarding of entities by email.

Code

function forward_module_implements_alter(&$implementations, $hook) {
  if ($hook == 'form_alter') {

    // Process forward form alters last so that any Mollom protection is already added by the time the BASE_FORM_ID alter hook is called
    $group = $implementations['forward'];
    unset($implementations['forward']);
    $implementations['forward'] = $group;
  }
}