You are here

function apachesolr_access_enable in Apache Solr Search 7

Same name and namespace in other branches
  1. 8 apachesolr_access/apachesolr_access.module \apachesolr_access_enable()
  2. 6.3 apachesolr_access/apachesolr_access.module \apachesolr_access_enable()

Implements hook_enable().

On enabling the module, tell the user to reindex

1 call to apachesolr_access_enable()
apachesolr_access_environment_edit_form_submit in apachesolr_access/apachesolr_access.module
Added button-level form submit function for apachesolr_environment_edit_form.

File

apachesolr_access/apachesolr_access.module, line 202

Code

function apachesolr_access_enable() {
  drupal_set_message(t('Your content <a href="@url">must be re-indexed</a> before Apache Solr Access will be functional on searches.', array(
    '@url' => url('admin/config/search/apachesolr/index'),
  )), 'warning');
}