TourDeleteForm.php in Tour UI 8
Namespace
Drupal\tour_ui\FormFile
src/Form/TourDeleteForm.phpView source
<?php
namespace Drupal\tour_ui\Form;
use Drupal\Core\Entity\EntityDeleteForm;
use Drupal\Core\Url;
/**
* Builds the form to delete a tour.
*/
class TourDeleteForm extends EntityDeleteForm {
/**
* {@inheritdoc}
*/
public function getCancelUrl() {
return Url::fromRoute('entity.tour.collection');
}
}
Classes
Name![]() |
Description |
---|---|
TourDeleteForm | Builds the form to delete a tour. |