function uc_ups_fulfill_order_submit in Ubercart 8.4
Same name and namespace in other branches
- 5 shipping/uc_ups/uc_ups.module \uc_ups_fulfill_order_submit()
- 6.2 shipping/uc_ups/uc_ups.ship.inc \uc_ups_fulfill_order_submit()
- 7.3 shipping/uc_ups/uc_ups.ship.inc \uc_ups_fulfill_order_submit()
Passes final information into shipment object.
See also
File
- shipping/
uc_ups/ src/ Plugin/ Ubercart/ FulfillmentMethod/ uc_ups.ship.inc, line 339 - UPS functions for label generation.
Code
function uc_ups_fulfill_order_submit($form, FormStateInterface $form_state) {
$form_state['redirect'] = 'admin/store/orders/' . $form_state
->getValue('order_id') . '/shipments/ups';
}