You are here

public function StandardSolrCloudConnector::setConfiguration in Search API Solr 4.x

Sets the configuration for this plugin instance.

Parameters

array $configuration: An associative array containing the plugin's configuration.

Overrides SolrConnectorPluginBase::setConfiguration

File

src/Plugin/SolrConnector/StandardSolrCloudConnector.php, line 43

Class

StandardSolrCloudConnector
Standard Solr Cloud connector.

Namespace

Drupal\search_api_solr\Plugin\SolrConnector

Code

public function setConfiguration(array $configuration) {
  $configuration['distrib'] = (bool) $configuration['distrib'];
  parent::setConfiguration($configuration);
}