public function SearchApiSolrBackend::defaultConfiguration in Search API Solr 8.2
Same name and namespace in other branches
- 8.3 src/Plugin/search_api/backend/SearchApiSolrBackend.php \Drupal\search_api_solr\Plugin\search_api\backend\SearchApiSolrBackend::defaultConfiguration()
- 8 src/Plugin/search_api/backend/SearchApiSolrBackend.php \Drupal\search_api_solr\Plugin\search_api\backend\SearchApiSolrBackend::defaultConfiguration()
- 4.x src/Plugin/search_api/backend/SearchApiSolrBackend.php \Drupal\search_api_solr\Plugin\search_api\backend\SearchApiSolrBackend::defaultConfiguration()
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
Overrides ConfigurablePluginBase::defaultConfiguration
1 call to SearchApiSolrBackend::defaultConfiguration()
- SearchApiSolrAnySchemaBackend::defaultConfiguration in src/
Plugin/ search_api/ backend/ SearchApiSolrAnySchemaBackend.php - Gets default configuration for this plugin.
1 method overrides SearchApiSolrBackend::defaultConfiguration()
- SearchApiSolrAnySchemaBackend::defaultConfiguration in src/
Plugin/ search_api/ backend/ SearchApiSolrAnySchemaBackend.php - Gets default configuration for this plugin.
File
- src/
Plugin/ search_api/ backend/ SearchApiSolrBackend.php, line 179
Class
- SearchApiSolrBackend
- Apache Solr backend for search api.
Namespace
Drupal\search_api_solr\Plugin\search_api\backendCode
public function defaultConfiguration() {
return [
'retrieve_data' => FALSE,
'highlight_data' => FALSE,
'skip_schema_check' => FALSE,
'site_hash' => FALSE,
'server_prefix' => '',
'domain' => 'generic',
// Set the default for new servers to NULL to force "safe" un-selected
// radios. @see https://www.drupal.org/node/2820244
'connector' => NULL,
'connector_config' => [],
];
}