public function FillPdfFormDeleteForm::getCancelUrl in FillPDF 8.4
Same name and namespace in other branches
- 5.0.x src/Form/FillPdfFormDeleteForm.php \Drupal\fillpdf\Form\FillPdfFormDeleteForm::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/ FillPdfFormDeleteForm.php, line 25
Class
- FillPdfFormDeleteForm
- Provides a deletion confirmation form for a FillPdfForm.
Namespace
Drupal\fillpdf\FormCode
public function getCancelUrl() {
return $this
->getEntity()
->toUrl('canonical');
}