public function ShipmentDeleteForm::getCancelUrl in Ubercart 8.4
Returns the route to go to if the user cancels the action.
Return value
\Drupal\Core\Url A URL object.
Overrides ConfirmFormInterface::getCancelUrl
1 call to ShipmentDeleteForm::getCancelUrl()
- ShipmentDeleteForm::submitForm in shipping/
uc_fulfillment/ src/ Form/ ShipmentDeleteForm.php - Form submission handler.
File
- shipping/
uc_fulfillment/ src/ Form/ ShipmentDeleteForm.php, line 96
Class
- ShipmentDeleteForm
- Decides to release packages to be put on another shipment.
Namespace
Drupal\uc_fulfillment\FormCode
public function getCancelUrl() {
return Url::fromRoute('uc_fulfillment.shipments', [
'uc_order' => $this->order_id,
]);
}