public function OrderReceiptResendForm::getCancelUrl in Commerce Core 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
- modules/
order/ src/ Form/ OrderReceiptResendForm.php, line 74
Class
- OrderReceiptResendForm
- Provides a confirmation form for resending order receipts.
Namespace
Drupal\commerce_order\FormCode
public function getCancelUrl() {
return $this->entity
->toUrl('collection');
}