You are here

public function SearchApiHighlight::configurationFormValidate in Search API 7

Validation callback for the form returned by configurationForm().

Parameters

array $form: The form returned by configurationForm().

array $values: The part of the $form_state['values'] array corresponding to this form.

array $form_state: The complete form state.

Overrides SearchApiAbstractProcessor::configurationFormValidate

File

includes/processor_highlight.inc, line 131
Contains the SearchApiHighlight class.

Class

SearchApiHighlight
Processor for highlighting search results.

Code

public function configurationFormValidate(array $form, array &$values, array &$form_state) {
  $values['exclude_fields'] = array_filter($values['exclude_fields']);
}