public function EmailDeleteForm::getCancelUrl in Courier 2.x
Same name and namespace in other branches
- 8 src/Form/EmailDeleteForm.php \Drupal\courier\Form\EmailDeleteForm::getCancelUrl()
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/ EmailDeleteForm.php, line 23
Class
- EmailDeleteForm
- Form for deleting an email.
Namespace
Drupal\courier\FormCode
public function getCancelUrl() {
return $this->entity
->toUrl();
}