You are here

function apachesolr_clear_index_confirm in Apache Solr Search 6.2

Same name and namespace in other branches
  1. 5.2 apachesolr.admin.inc \apachesolr_clear_index_confirm()
  2. 6 apachesolr.admin.inc \apachesolr_clear_index_confirm()

Confirmation form for "Re-index all content" button

See also

apachesolr_clear_index_submit()

1 string reference to 'apachesolr_clear_index_confirm'
apachesolr_menu in ./apachesolr.module
Implementation of hook_menu().

File

./apachesolr.admin.inc, line 439
Administrative pages for the Apache Solr framework.

Code

function apachesolr_clear_index_confirm() {
  $form = array();
  return confirm_form($form, t('Are you sure you want to queue content for reindexing?'), 'admin/settings/apachesolr/index', t('All content on the site will be queued for indexing. The documents currently in the Solr index will remain searchable. The content will be gradually resubmitted to Solr during cron runs.'), t('Reindex'), t('Cancel'));
}