You are here

protected static function AcquiaSearchSolrEnvironment::isOverridden in Acquia Connector 7.3

Checks if apachesolr environment is overridden.

Parameters

array $conf: Site configuration.

string $acquia_env_id: Search environment ID.

Return value

bool TRUE if the Acquia search environment has already been overridden.

1 call to AcquiaSearchSolrEnvironment::isOverridden()
AcquiaSearchSolrEnvironment::override in acquia_search/includes/AcquiaSearchSolrEnvironment.php
Overrides search environments configuration.

File

acquia_search/includes/AcquiaSearchSolrEnvironment.php, line 181

Class

AcquiaSearchSolrEnvironment
Class AcquiaSearchSolrEnvironment.

Code

protected static function isOverridden(array $conf, $acquia_env_id) {
  return !empty($conf['apachesolr_environments'][$acquia_env_id]);
}