You are here

public function PreferredSearchCoreService::getPreferredCoreId in Acquia Search 2.x

Returns expected core ID based on the current site configs.

Return value

string Core ID.

File

src/PreferredSearchCoreService.php, line 83

Class

PreferredSearchCoreService
Serivce to check for preferred search core.

Namespace

Drupal\acquia_search

Code

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