SearchPageListBuilder::searchAdminReindexSubmit

public SearchPageListBuilder::searchAdminReindexSubmit(array &$form, FormStateInterface $form_state)

Form submission handler for the reindex button on the search admin settings form.

File

core/modules/search/src/SearchPageListBuilder.php, line 352

Class

SearchPageListBuilder
Defines a class to build a listing of search page entities.

Namespace

Drupal\search

Code

public function searchAdminReindexSubmit(array &$form, FormStateInterface $form_state) {
  // Send the user to the confirmation page.
  $form_state->setRedirect('search.reindex_confirm');
}
doc_Drupal
2016-10-29 09:40:42
Comments
Leave a Comment

Please login to continue.