You are here

public function SearchApiEntity::defineOptions in Search API 8

Defines the options used by this plugin.

Return value

array Returns the options of this handler/plugin.

Overrides SearchApiFieldTrait::defineOptions

See also

\Drupal\views\Plugin\views\PluginBase::defineOptions()

File

src/Plugin/views/field/SearchApiEntity.php, line 101

Class

SearchApiEntity
Handles the display of entity reference fields in Search API Views.

Namespace

Drupal\search_api\Plugin\views\field

Code

public function defineOptions() {
  $options = parent::defineOptions();
  $options['display_methods'] = [
    'default' => [],
  ];
  return $options;
}