public function TourTipDeleteForm::getCancelUrl in Tour UI 8
Returns the route to go to if the user cancels the action.
Return value
\Drupal\Core\Url A URL object.
Overrides ConfirmFormInterface::getCancelUrl
File
- src/
Form/ TourTipDeleteForm.php, line 78
Class
- TourTipDeleteForm
- Builds the form to delete a tour tip.
Namespace
Drupal\tour_ui\FormCode
public function getCancelUrl() {
return Url::fromRoute('entity.tour.edit_form', [
'tour' => $this->entity
->id(),
]);
}