You are here

public function PreferredSearchCoreService::getPreferredCoreHostname in Acquia Connector 8

Returns expected core host based on the current site configs.

Return value

string Hostname.

File

acquia_search/src/PreferredSearchCoreService.php, line 97

Class

PreferredSearchCoreService
Serivce to check for preferred search core.

Namespace

Drupal\acquia_search

Code

public function getPreferredCoreHostname() {
  $core = $this
    ->getPreferredCore();
  return $core['balancer'];
}