public function CoreSearchService::configurationFormSubmit in Fast Autocomplete 7
Implements SearchServiceInterface::configurationFormSubmit().
Overrides AbstractSearchService::configurationFormSubmit
File
- src/
SearchService/ CoreSearchService.php, line 78
Class
- CoreSearchService
- Fast Autocomplete backend service class providing Drupal core 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);
}