public function UserRevisionDeleteForm::getCancelUrl in User Revision 8
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/ UserRevisionDeleteForm.php, line 68
Class
- UserRevisionDeleteForm
- Provides a form for delete a user revision.
Namespace
Drupal\user_revision\FormCode
public function getCancelUrl() {
return new Url('entity.user.version_history', array(
'user' => $this->revision
->id(),
));
}