You are here

public static function AcquiaSearchSolrEnvironment::isAcquiaServer in Acquia Connector 7.3

Checks that environment has required service class.

Parameters

array $environment: Search environment.

Return value

bool TRUE if environment uses AcquiaSearchSolrService service class.

1 call to AcquiaSearchSolrEnvironment::isAcquiaServer()
AcquiaSearchSolrEnvironment::isConnected in acquia_search/includes/AcquiaSearchSolrEnvironment.php
Checks connection to search index.

File

acquia_search/includes/AcquiaSearchSolrEnvironment.php, line 126

Class

AcquiaSearchSolrEnvironment
Class AcquiaSearchSolrEnvironment.

Code

public static function isAcquiaServer(array $environment) {
  return $environment['service_class'] === AcquiaSearchSolrService::class;
}