You are here

public function SearchApiEntityFieldExport::multiple_options_form in REST Views 2.0.x

File

modules/rest_views_search_api/src/Plugin/views/field/SearchApiEntityFieldExport.php, line 68

Class

SearchApiEntityFieldExport
Display Search API Content Datasource field data in a serialized display.

Namespace

Drupal\rest_views_search_api\Plugin\views\field

Code

public function multiple_options_form(&$form, FormStateInterface $form_state) : void {

  // Initialize removed settings to avoid notices. Unset them afterward.
  $this->options['multi_type'] = $this->options['separator'] = NULL;
  parent::multiple_options_form($form, $form_state);

  // The export field does not concatenate items.
  unset($form['multi_type'], $form['separator'], $this->options['multi_type'], $this->options['separator']);
}