function search_reindex_confirm

search_reindex_confirm()

Menu callback: confirm wiping of the index.

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'));
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!search!search.admin.inc/function/search_reindex_confirm/7.x