You are here

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

Returns expected core ID based on the current site configs.

Return value

string Core ID.

File

includes/v3/SearchApiAcquiaPreferredCore.php, line 93

Class

SearchApiAcquiaPreferredCore
Class SearchApiAcquiaPreferredCore.

Code

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