You are here

public function CustomScript::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/CustomScript.php, line 40

Class

CustomScript
Uses a custom (non-Drupal) script for generating autocomplete suggestions.

Namespace

Drupal\search_api_autocomplete\Plugin\search_api_autocomplete\suggester

Code

public function defaultConfiguration() {
  return [
    'path' => '',
  ];
}