public function PreferredSearchCore::getPreferredCoreHostname in Acquia Search 3.x
Returns expected core host based on the current site configs.
Return value
string Hostname.
File
- src/
PreferredSearchCore.php, line 116
Class
- PreferredSearchCore
- Return the Preferred search core for Solr.
Namespace
Drupal\acquia_searchCode
public function getPreferredCoreHostname() {
$core = $this
->getPreferredCore();
return $core['balancer'];
}