You are here

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

Same name and namespace in other branches
  1. 8.3 src/Plugin/SolrConnector/StandardSolrCloudConnector.php \Drupal\search_api_solr\Plugin\SolrConnector\StandardSolrCloudConnector::getCollectionName()
  2. 8.2 src/Plugin/SolrConnector/StandardSolrCloudConnector.php \Drupal\search_api_solr\Plugin\SolrConnector\StandardSolrCloudConnector::getCollectionName()

Returns the Solr collection name.

Return value

string The Solr collection name.

Overrides SolrCloudConnectorInterface::getCollectionName

File

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

Class

StandardSolrCloudConnector
Standard Solr Cloud connector.

Namespace

Drupal\search_api_solr\Plugin\SolrConnector

Code

public function getCollectionName() {
  return $this->configuration['core'];
}