public function PaymentCaptureForm::getCancelUrl in Payment 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
File
- src/
Entity/ Payment/ PaymentCaptureForm.php, line 43
Class
- PaymentCaptureForm
- Provides the payment capture form.
Namespace
Drupal\payment\Entity\PaymentCode
public function getCancelUrl() {
return $this
->getEntity()
->toUrl();
}