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