You are here

function apachesolr_index_action_form_reset_confirm in Apache Solr Search 7

Same name and namespace in other branches
  1. 8 apachesolr.admin.inc \apachesolr_index_action_form_reset_confirm()
  2. 6.3 apachesolr.admin.inc \apachesolr_index_action_form_reset_confirm()

Form builder for the index re-enqueue form.

_state

Parameters

array $form:

array $environment:

Return value

mixed

See also

apachesolr_index_action_form_reset_confirm_submit().

1 string reference to 'apachesolr_index_action_form_reset_confirm'
apachesolr_menu in ./apachesolr.module
Implements hook_menu().

File

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

Code

function apachesolr_index_action_form_reset_confirm(array $form, array &$form_state, array $environment) {
  return confirm_form($form, t('Are you sure you want to queue content for reindexing?'), 'admin/config/search/apachesolr/settings/' . $environment['env_id'] . '/index', t('All content on the site will be queued for indexing. The documents currently in the Solr index will remain searchable.'), t('Queue all content'));
}