public function PaymentMethodConfigurationDeleteForm::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/ PaymentMethodConfiguration/ PaymentMethodConfigurationDeleteForm.php, line 54
Class
- PaymentMethodConfigurationDeleteForm
- Provides the payment method configuration deletion form.
Namespace
Drupal\payment\Entity\PaymentMethodConfigurationCode
public function getCancelUrl() {
return $this
->getEntity()
->toUrl('collection');
}