public function ShipmentConfirmationResendForm::getCancelUrl in Commerce Shipping 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/
Form/ ShipmentConfirmationResendForm.php, line 75
Class
- ShipmentConfirmationResendForm
- Provides a confirmation form for resending order shipment confirmations.
Namespace
Drupal\commerce_shipping\FormCode
public function getCancelUrl() {
return $this->entity
->toUrl('collection');
}