You are here

public function LiveResults::defaultConfiguration in Search API Autocomplete 8

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides ConfigurablePluginBase::defaultConfiguration

File

src/Plugin/search_api_autocomplete/suggester/LiveResults.php, line 122

Class

LiveResults
Provides a suggester plugin that displays live results.

Namespace

Drupal\search_api_autocomplete\Plugin\search_api_autocomplete\suggester

Code

public function defaultConfiguration() {
  return [
    'fields' => [],
    'view_modes' => [],
    'highlight' => [
      'enabled' => FALSE,
      'field' => '',
    ],
  ];
}