You are here

public function SearchApiOptions::buildOptionsForm in Search API 8

Provide the basic form which calls through to subforms. If overridden, it is best to call through to the parent, or to at least make sure all of the functions in this form are called.

Overrides FilterPluginBase::buildOptionsForm

File

src/Plugin/views/filter/SearchApiOptions.php, line 22

Class

SearchApiOptions
Defines a filter for filtering on fields with a fixed set of possible values.

Namespace

Drupal\search_api\Plugin\views\filter

Code

public function buildOptionsForm(&$form, FormStateInterface $form_state) {
  parent::buildOptionsForm($form, $form_state);
  unset($form['reduce_duplicates']);
}