You are here

public function SearchApiSolrAcquiaConnector::pingServer in Acquia Search 2.x

Same name and namespace in other branches
  1. 3.x src/Plugin/SolrConnector/SearchApiSolrAcquiaConnector.php \Drupal\acquia_search\Plugin\SolrConnector\SearchApiSolrAcquiaConnector::pingServer()

Acquia-specific: 'admin/info/system' path is protected by Acquia. Use admin/system instead.

Overrides SolrConnectorPluginBase::pingServer

File

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

Class

SearchApiSolrAcquiaConnector
Acquia Search Plugin for Search API Solr.

Namespace

Drupal\acquia_search\Plugin\SolrConnector

Code

public function pingServer() {
  return $this
    ->doPing([
    'handler' => 'admin/system',
  ], 'core');
}