You are here

public function Spellcheck::defaultConfiguration in Search API Solr 8.2

Same name and namespace in other branches
  1. 8.3 src/Plugin/search_api_autocomplete/suggester/Spellcheck.php \Drupal\search_api_solr\Plugin\search_api_autocomplete\suggester\Spellcheck::defaultConfiguration()
  2. 4.x src/Plugin/search_api_autocomplete/suggester/Spellcheck.php \Drupal\search_api_solr\Plugin\search_api_autocomplete\suggester\Spellcheck::defaultConfiguration()

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/Spellcheck.php, line 40

Class

Spellcheck
Provides a suggester plugin that retrieves suggestions from the server.

Namespace

Drupal\search_api_solr\Plugin\search_api_autocomplete\suggester

Code

public function defaultConfiguration() {
  return [];
}