public function SearchApiAbstractProcessor::configurationFormSubmit in Search API 7
Submit callback for the form returned by configurationForm().
This method should both return the new options and set them internally.
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.
Return value
array The new options array for this callback.
Overrides SearchApiProcessorInterface::configurationFormSubmit
File
- includes/
processor.inc, line 200 - Contains SearchApiProcessorInterface and SearchApiAbstractProcessor.
Class
- SearchApiAbstractProcessor
- Abstract processor implementation that provides an easy framework for only processing specific fields.
Code
public function configurationFormSubmit(array $form, array &$values, array &$form_state) {
$this->options = $values;
return $values;
}