You are here

function acquia_search_environment_connected in Acquia Connector 7

Same name and namespace in other branches
  1. 7.3 acquia_search/acquia_search.module \acquia_search_environment_connected()
  2. 7.2 acquia_search/acquia_search.module \acquia_search_environment_connected()

Tests whether the environment is connected to Acquia Search.

4 calls to acquia_search_environment_connected()
acquia_search_apachesolr_query_alter in acquia_search/acquia_search.module
Implementation of hook_apachesolr_modify_query().
acquia_search_disable in acquia_search/acquia_search.module
Implementation of hook_disable().
acquia_search_form_apachesolr_environment_edit_form_alter in acquia_search/acquia_search.module
Implementation of hook_form_[form_id]_alter().
acquia_search_help in acquia_search/acquia_search.module
Implementation of hook_help().

File

acquia_search/acquia_search.module, line 130
Integration between Acquia Drupal and Acquia's hosted solr search service.

Code

function acquia_search_environment_connected($environment) {
  return $environment['service_class'] == 'AcquiaSearchService';
}