public function PreferredSearchCoreService::isPreferredCoreAvailable in Acquia Connector 7.2
Same name and namespace in other branches
- 8 acquia_search/src/PreferredSearchCoreService.php \Drupal\acquia_search\PreferredSearchCoreService::isPreferredCoreAvailable()
- 7.3 acquia_search/src/PreferredSearchCoreService.php \Drupal\acquia_search\PreferredSearchCoreService::isPreferredCoreAvailable()
Determines whether the expected core ID matches any available core IDs.
The list of available core IDs is set by Acquia and comes within the Acquia Subscription information.
Return value
bool True if the expected core ID available to use with Acquia.
File
- acquia_search/
src/ PreferredSearchCoreService.php, line 63
Class
- PreferredSearchCoreService
- Class PreferredSearchCoreService.
Namespace
Drupal\acquia_searchCode
public function isPreferredCoreAvailable() {
return (bool) $this
->getPreferredCore();
}