public function SearchApiSolrBackend::setConfiguration in Search API Solr 8
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::setConfiguration()
- 8.2 src/Plugin/search_api/backend/SearchApiSolrBackend.php \Drupal\search_api_solr\Plugin\search_api\backend\SearchApiSolrBackend::setConfiguration()
- 4.x src/Plugin/search_api/backend/SearchApiSolrBackend.php \Drupal\search_api_solr\Plugin\search_api\backend\SearchApiSolrBackend::setConfiguration()
Sets the configuration for this plugin instance.
Parameters
array $configuration: An associative array containing the plugin's configuration.
Overrides BackendPluginBase::setConfiguration
File
- src/
Plugin/ search_api/ backend/ SearchApiSolrBackend.php, line 2221
Class
- SearchApiSolrBackend
- Apache Solr backend for search api.
Namespace
Drupal\search_api_solr\Plugin\search_api\backendCode
public function setConfiguration(array $configuration) {
parent::setConfiguration($configuration);
// Update the configuration of the Solr connector as well by replacing it by
// a new instance with the latest configuration.
$this->solrConnector = NULL;
}