function apachesolr_index_action_form_delete_confirm in Apache Solr Search 7
Same name and namespace in other branches
- 8 apachesolr.admin.inc \apachesolr_index_action_form_delete_confirm()
- 6.3 apachesolr.admin.inc \apachesolr_index_action_form_delete_confirm()
Form builder for the index delete/clear form.
_state
Parameters
array $form:
array $environment:
Return value
array output of confirm_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 1091 - Administrative pages for the Apache Solr framework.
Code
function apachesolr_index_action_form_delete_confirm(array $form, array &$form_state, array $environment) {
return confirm_form($form, t('Are you sure you want to clear your index?'), 'admin/config/search/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'));
}