public function ApachesolrSearchService::configurationFormSubmit in Fast Autocomplete 7
Implements SearchServiceInterface::configurationFormSubmit().
Overrides AbstractSearchService::configurationFormSubmit
File
- src/
SearchService/ ApachesolrSearchService.php, line 81
Class
- ApachesolrSearchService
- Fast Autocomplete backend service class providing Apachesolr search.
Namespace
Drupal\fac\SearchServiceCode
public function configurationFormSubmit(array $form, array &$values, array &$form_state) {
$settings = array(
'number_of_results' => $values['number_of_results'],
);
variable_set('fac_backend_service_settings', $settings);
}