function ReindexConfirm::getCancelUrl
Returns the route to go to if the user cancels the action.
Return value
\Drupal\Core\Url A URL object.
Overrides ConfirmFormInterface::getCancelUrl
1 call to ReindexConfirm::getCancelUrl()
- ReindexConfirm::submitForm in core/modules/ search/ src/ Form/ ReindexConfirm.php 
- Form submission handler.
File
- 
              core/modules/ search/ src/ Form/ ReindexConfirm.php, line 54 
Class
- ReindexConfirm
- Provides the search reindex confirmation form.
Namespace
Drupal\search\FormCode
public function getCancelUrl() {
  return new Url('entity.search_page.collection');
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
