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