You are here

function helper_element_info_alter in Helper 7

Implements hook_element_info_alter().

File

./helper.module, line 336

Code

function helper_element_info_alter(&$info) {
  foreach ($info as $type => $type_info) {
    if (isset($type_info['#process']) && in_array('form_process_autocomplete', $type_info['#process'])) {
      $info[$type]['#process'][] = 'helper_process_autocomplete_submit';
    }
  }
}