function ReindexConfirm::getCancelUrl

Same name in other branches
  1. 9 core/modules/search/src/Form/ReindexConfirm.php \Drupal\search\Form\ReindexConfirm::getCancelUrl()
  2. 10 core/modules/search/src/Form/ReindexConfirm.php \Drupal\search\Form\ReindexConfirm::getCancelUrl()
  3. 11.x core/modules/search/src/Form/ReindexConfirm.php \Drupal\search\Form\ReindexConfirm::getCancelUrl()

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\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.