function uc_ups_confirm_shipment in Ubercart 7.3
Same name and namespace in other branches
- 8.4 shipping/uc_ups/src/Plugin/Ubercart/FulfillmentMethod/uc_ups.ship.inc \uc_ups_confirm_shipment()
- 5 shipping/uc_ups/uc_ups.module \uc_ups_confirm_shipment()
- 6.2 shipping/uc_ups/uc_ups.ship.inc \uc_ups_confirm_shipment()
Last chance for user to review shipment.
See also
uc_ups_confirm_shipment_submit()
theme_uc_ups_confirm_shipment()
1 string reference to 'uc_ups_confirm_shipment'
- uc_ups_menu in shipping/
uc_ups/ uc_ups.module - Implements hook_menu().
File
- shipping/
uc_ups/ uc_ups.ship.inc, line 562 - UPS functions for label generation.
Code
function uc_ups_confirm_shipment($form, &$form_state, $order) {
$form['digest'] = array(
'#type' => 'hidden',
'#value' => $_SESSION['ups']['digest'],
);
$form['actions'] = array(
'#type' => 'actions',
);
$form['actions']['submit'] = array(
'#type' => 'submit',
'#value' => t('Request Pickup'),
);
return $form;
}