You are here

function commons_search_module_implements_alter in Drupal Commons 7.3

Implements hook_module_implements_alter().

File

modules/commons/commons_search/commons_search.module, line 12

Code

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

    // We move commons_search to the end so it gets processed last.
    $group = $implementations['commons_search'];
    unset($implementations['commons_search']);
    $implementations['commons_search'] = $group;
  }
}