You are here

public function TourDeleteForm::getCancelUrl in Tour UI 8

Overrides EntityDeleteFormTrait::getCancelUrl

File

src/Form/TourDeleteForm.php, line 16

Class

TourDeleteForm
Builds the form to delete a tour.

Namespace

Drupal\tour_ui\Form

Code

public function getCancelUrl() {
  return Url::fromRoute('entity.tour.collection');
}