You are here

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

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

src/PreferredSearchCore.php, line 133

Class

PreferredSearchCore
Return the Preferred search core for Solr.

Namespace

Drupal\acquia_search

Code

public function isPreferredCoreAvailable() {
  return (bool) $this
    ->getPreferredCore();
}