public function Suggester::submitConfigurationForm in Search API Solr 8.3
Same name and namespace in other branches
- 8.2 src/Plugin/search_api_autocomplete/suggester/Suggester.php \Drupal\search_api_solr\Plugin\search_api_autocomplete\suggester\Suggester::submitConfigurationForm()
- 4.x src/Plugin/search_api_autocomplete/suggester/Suggester.php \Drupal\search_api_solr\Plugin\search_api_autocomplete\suggester\Suggester::submitConfigurationForm()
Form submission handler.
Parameters
array $form: An associative array containing the structure of the plugin form as built by static::buildConfigurationForm().
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the complete form.
Overrides PluginFormTrait::submitConfigurationForm
See also
\Drupal\Core\Plugin\PluginFormInterface::submitConfigurationForm()
File
- src/
Plugin/ search_api_autocomplete/ suggester/ Suggester.php, line 105
Class
- Suggester
- Provides a suggester plugin that retrieves suggestions from the server.
Namespace
Drupal\search_api_solr\Plugin\search_api_autocomplete\suggesterCode
public function submitConfigurationForm(array &$form, FormStateInterface $form_state) {
$values = $form_state
->getValues();
$this
->setConfiguration($values);
}