You are here

function field_validation_module_implements_alter in Field Validation 7

Implements hook_module_implements_alter().

Ensures the call to field_validation_form_field_ui_field_overview_form_alter() function runs after any invocation of the form_alter() by other modules, e.g. Field Group module.

File

./field_validation.module, line 127

Code

function field_validation_module_implements_alter(&$implementations, $hook) {
  if ($hook == 'form_alter' && array_key_exists('field_validation', $implementations)) {
    $group = $implementations['field_validation'];
    unset($implementations['field_validation']);
    $implementations['field_validation'] = $group;
  }
}