You are here

function multiple_registration_module_implements_alter in Multiple Registration 7

Implements hook_module_implements_alter().

We need to move to the bottom, because our form alter related with other form alters, that should be implemented before our hook.

File

./multiple_registration.module, line 496
Add ability to create several registration pages.

Code

function multiple_registration_module_implements_alter(&$implementations, $hook) {
  if ($hook == 'form_alter' && isset($implementations['multiple_registration'])) {
    $group = $implementations['multiple_registration'];
    unset($implementations['multiple_registration']);
    $implementations['multiple_registration'] = $group;
  }
}