You are here

function search_api_admin_server_edit_validate in Search API 7

Form validation handler for search_api_admin_server_edit().

See also

search_api_admin_server_edit_submit()

File

./search_api.admin.inc, line 650
Administration page callbacks for the Search API module.

Code

function search_api_admin_server_edit_validate(array $form, array &$form_state) {
  if (!empty($form['options']['form']) && !empty($form_state['values']['options']['form'])) {
    $form_state['server']
      ->configurationFormValidate($form['options']['form'], $form_state['values']['options']['form'], $form_state);
  }
}