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