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