public function SearchApiAcquiaSearchMultiService::connect in Acquia Search Multiple Indexes 8
Same name and namespace in other branches
- 7 lib/Drupal/SearchApiSolr/SearchApiAcquiaSearchMultiService.php \SearchApiAcquiaSearchMultiService::connect()
File
- src/
Plugin/ search_api/ backend/ 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();
}
}