You are here

public function PreferredSearchCore::getPreferredCoreId in Acquia Search 3.x

Returns expected core ID based on the current site configs.

Return value

string Core ID.

File

src/PreferredSearchCore.php, line 102

Class

PreferredSearchCore
Return the Preferred search core for Solr.

Namespace

Drupal\acquia_search

Code

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