You are here

function acquia_search_enable in Acquia Connector 7

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

Implementation of hook_enable().

File

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

Code

function acquia_search_enable() {
  if (acquia_agent_subscription_is_active()) {
    acquia_search_enable_acquia_solr_environment();

    // Send a heartbeat so the Acquia Network knows the module is enabled.
    acquia_agent_check_subscription();
  }
}