You are here

public function TemplateDeleteForm::getCancelUrl in Workbench Email 8

Same name and namespace in other branches
  1. 2.x src/Form/TemplateDeleteForm.php \Drupal\workbench_email\Form\TemplateDeleteForm::getCancelUrl()

Overrides EntityDeleteFormTrait::getCancelUrl

1 call to TemplateDeleteForm::getCancelUrl()
TemplateDeleteForm::submitForm in src/Form/TemplateDeleteForm.php

File

src/Form/TemplateDeleteForm.php, line 49

Class

TemplateDeleteForm
Builds the form to delete Email Template entities.

Namespace

Drupal\workbench_email\Form

Code

public function getCancelUrl() {
  return new Url('entity.workbench_email_template.collection');
}