function acquia_search_enable in Acquia Search 6
Same name and namespace in other branches
- 6.3 acquia_search.module \acquia_search_enable()
Implementation of hook_enable().
File
- ./
acquia_search.module, line 14 - Integration between Acquia Drupal and Acquia's hosted solr search service.
Code
function acquia_search_enable() {
if (acquia_agent_subscription_is_active()) {
// Send a heartbeat so the Acquia Network knows the module is enabled.
acquia_agent_check_subscription();
_acquia_search_set_variables();
}
}