public function EasyEmailRevisionDeleteForm::getCancelUrl in Easy Email 8
Same name and namespace in other branches
- 2.0.x src/Form/EasyEmailRevisionDeleteForm.php \Drupal\easy_email\Form\EasyEmailRevisionDeleteForm::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/ EasyEmailRevisionDeleteForm.php, line 82
Class
- EasyEmailRevisionDeleteForm
- Provides a form for deleting a Email revision.
Namespace
Drupal\easy_email\FormCode
public function getCancelUrl() {
return new Url('entity.easy_email.version_history', [
'easy_email' => $this->revision
->id(),
]);
}