You are here

public function SearchApiSolrAcquiaConnector::getCoreInfo in Acquia Search 3.x

Gets information about the Solr Core.

Parameters

bool $reset: If TRUE the server will be asked regardless if a previous call is cached.

Return value

object A response object with system information.

Throws

\Drupal\search_api_solr\SearchApiSolrException

Overrides SolrConnectorPluginBase::getCoreInfo

File

src/Plugin/SolrConnector/SearchApiSolrAcquiaConnector.php, line 152

Class

SearchApiSolrAcquiaConnector
Class SearchApiSolrAcquiaConnector.

Namespace

Drupal\acquia_search\Plugin\SolrConnector

Code

public function getCoreInfo($reset = FALSE) {
  if (isset($this->configuration['core'])) {
    return parent::getCoreInfo($reset);
  }
  return NULL;
}