You are here

function fac_backend_settings_form_validate in Fast Autocomplete 7

Validates the backend service settings form submitted values.

Parameters

array $form: The form array.

array $form_state: The form state array.

File

inc/fac.admin.inc, line 309
This file contains the settings forms of the Fast Autocomplete module.

Code

function fac_backend_settings_form_validate(array &$form, array &$form_state) {
  $backend_service = variable_get('fac_backend_service', '');
  $service = new $backend_service();
  $service
    ->configurationFormValidate($form, $form_state['values'], $form_state);
}