public function InvoicePaymentForm::getCancelUrl in Commerce Invoice 8.2
Returns the route to go to if the user cancels the action.
Return value
\Drupal\Core\Url A URL object.
Overrides ConfirmFormInterface::getCancelUrl
1 call to InvoicePaymentForm::getCancelUrl()
- InvoicePaymentForm::submitForm in src/
Form/ InvoicePaymentForm.php - Form submission handler.
File
- src/
Form/ InvoicePaymentForm.php, line 54
Class
Namespace
Drupal\commerce_invoice\FormCode
public function getCancelUrl() {
return Url::fromRoute('entity.commerce_invoice.collection');
}