You are here

protected function PreferredSearchCoreService::isCoreV3 in Acquia Connector 8

Determines whether given search core is version 3.

Parameters

array $core: Search core.

Return value

bool TRUE if the given search core is V3, FALSE otherwise.

1 call to PreferredSearchCoreService::isCoreV3()
PreferredSearchCoreService::sortCores in acquia_search/src/PreferredSearchCoreService.php
Sorts and returns search cores.

File

acquia_search/src/PreferredSearchCoreService.php, line 186

Class

PreferredSearchCoreService
Serivce to check for preferred search core.

Namespace

Drupal\acquia_search

Code

protected function isCoreV3(array $core) {
  return !empty($core['version']) && $core['version'] === 'v3';
}