function acquia_search_help in Acquia Search 6.3
Implementation of hook_help().
File
- ./
acquia_search.module, line 95 - Integration between Acquia Drupal and Acquia's hosted solr search service.
Code
function acquia_search_help($path, $arg) {
switch ($path) {
case 'admin/settings/apachesolr':
$env_id = $arg[4] ? $arg[4] : apachesolr_default_environment();
$environment = apachesolr_environment_load($env_id);
if (acquia_search_environment_connected($environment) && acquia_agent_subscription_is_active()) {
$as_link = l(t('Acquia Search'), 'http://www.acquia.com/products-services/acquia-search');
return t("Search is being provided by the !as network service.", array(
'!as' => $as_link,
));
}
break;
}
}