function apachesolr_index_action_form_delete_confirm in Apache Solr Search 6.3
Same name and namespace in other branches
- 8 apachesolr.admin.inc \apachesolr_index_action_form_delete_confirm()
- 7 apachesolr.admin.inc \apachesolr_index_action_form_delete_confirm()
Form builder for the index delete/clear form.
See also
apachesolr_index_action_form_delete_confirm_submit().
1 string reference to 'apachesolr_index_action_form_delete_confirm'
- apachesolr_menu in ./
apachesolr.module - Implements hook_menu().
File
- ./
apachesolr.admin.inc, line 1006 - Administrative pages for the Apache Solr framework.
Code
function apachesolr_index_action_form_delete_confirm(&$form_state, $environment) {
$form = array();
return confirm_form($form, t('Are you sure you want to clear your index?'), 'admin/settings/apachesolr/settings/' . $environment['env_id'] . '/index', t('This will remove all data from your index and all search results will be incomplete until your site is reindexed.'), t('Delete index'));
}