You are here

public function SearchApiAcquiaPreferredCore::getPreferredCoreHostname in Acquia Search for Search API 7.2

Returns expected core host based on the current site configs.

Return value

string Hostname.

File

includes/v3/SearchApiAcquiaPreferredCore.php, line 107

Class

SearchApiAcquiaPreferredCore
Class SearchApiAcquiaPreferredCore.

Code

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