You are here

function apachesolr_delete_index_confirm in Apache Solr Search 6.2

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

Confirmation form for "Delete the index" button

See also

apachesolr_delete_index_submit()

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

File

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

Code

function apachesolr_delete_index_confirm() {
  $form = array();
  return confirm_form($form, t('Are you sure you want to delete the search index?'), 'admin/settings/apachesolr/index', t("All documents in the Solr index will be deleted. This is rarely necessary unless your index is corrupt or you have installed a new schema.xml. After doing this your content will need to be queued for indexing."), t('Delete'), t('Cancel'));
}