You are here

public function SearchApiAcquiaSearchMultiService::connect in Acquia Search Multiple Indexes 7

Same name and namespace in other branches
  1. 8 src/Plugin/search_api/backend/SearchApiAcquiaSearchMultiService.php \SearchApiAcquiaSearchMultiService::connect()

File

lib/Drupal/SearchApiSolr/SearchApiAcquiaSearchMultiService.php, line 16
Contains SearchApiAcquiaSearchMultiService.

Class

SearchApiAcquiaSearchMultiService
Provides automatic environment switching for Acquia Search servers.

Code

public function connect() {
  if (!$this->solr) {

    // Set our special overrides, if applicable.
    $this
      ->setConnectionOptions();
    parent::connect();
  }
}