You are here

function search_reindex_confirm in Drupal 7

Menu callback: confirm wiping of the index.

1 string reference to 'search_reindex_confirm'
search_menu in modules/search/search.module
Implements hook_menu().

File

modules/search/search.admin.inc, line 11
Admin page callbacks for the search module.

Code

function search_reindex_confirm() {
  return confirm_form(array(), t('Are you sure you want to re-index the site?'), 'admin/config/search/settings', t('The search index is not cleared but systematically updated to reflect the new settings. Searching will continue to work but new content won\'t be indexed until all existing content has been re-indexed. This action cannot be undone.'), t('Re-index site'), t('Cancel'));
}