public function Suggester::defaultConfiguration in Search API Solr 8.2
Same name and namespace in other branches
- 8.3 src/Plugin/search_api_autocomplete/suggester/Suggester.php \Drupal\search_api_solr\Plugin\search_api_autocomplete\suggester\Suggester::defaultConfiguration()
- 4.x src/Plugin/search_api_autocomplete/suggester/Suggester.php \Drupal\search_api_solr\Plugin\search_api_autocomplete\suggester\Suggester::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/ Suggester.php, line 43
Class
- Suggester
- Provides a suggester plugin that retrieves suggestions from the server.
Namespace
Drupal\search_api_solr\Plugin\search_api_autocomplete\suggesterCode
public function defaultConfiguration() {
return [
'search_api_solr/site_hash' => TRUE,
'search_api/index' => '',
'drupal/langcode' => 'any',
];
}