public function SearchApiAbstractService::configurationFormSubmit in Search API 7
Implements SearchApiServiceInterface::__construct().
The default implementation just ensures that additional elements in $options, not present in the form, don't get lost at the update.
Overrides SearchApiServiceInterface::configurationFormSubmit
File
- includes/
service.inc, line 331 - Contains SearchApiServiceInterface and SearchApiAbstractService.
Class
- SearchApiAbstractService
- Abstract class with generic implementation of most service methods.
Code
public function configurationFormSubmit(array $form, array &$values, array &$form_state) {
if (!empty($this->options)) {
$values += $this->options;
}
$this->options = $values;
}