public function PreferredSearchCoreService::getPreferredCoreId in Acquia Connector 8
Same name and namespace in other branches
- 7.3 acquia_search/src/PreferredSearchCoreService.php \Drupal\acquia_search\PreferredSearchCoreService::getPreferredCoreId()
- 7.2 acquia_search/src/PreferredSearchCoreService.php \Drupal\acquia_search\PreferredSearchCoreService::getPreferredCoreId()
Returns expected core ID based on the current site configs.
Return value
string Core ID.
File
- acquia_search/
src/ PreferredSearchCoreService.php, line 83
Class
- PreferredSearchCoreService
- Serivce to check for preferred search core.
Namespace
Drupal\acquia_searchCode
public function getPreferredCoreId() {
$core = $this
->getPreferredCore();
return $core['core_id'];
}