tour-2.0.x-dev/src/Form/TourDeleteForm.php

src/Form/TourDeleteForm.php
<?php

namespace Drupal\tour\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(): Url {
    return Url::fromRoute('entity.tour.collection');
  }

}

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc