function ReindexConfirm::getCancelUrl

Same name and namespace in other branches
  1. 11.x core/modules/search/src/Form/ReindexConfirm.php \Drupal\search\Form\ReindexConfirm::getCancelUrl()

File

core/modules/search/src/Form/ReindexConfirm.php, line 54

Class

ReindexConfirm
Provides the search reindex confirmation form.

Namespace

Drupal\search\Form

Code

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.