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