You are here

public function BasicTitleSearchService::configurationFormSubmit in Fast Autocomplete 7

Implements SearchServiceInterface::configurationFormSubmit().

Overrides AbstractSearchService::configurationFormSubmit

File

src/SearchService/BasicTitleSearchService.php, line 91

Class

BasicTitleSearchService
Fast Autocomplete backend service class for basic title search on nodes.

Namespace

Drupal\fac\SearchService

Code

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);
}