function uc_fulfillment_theme in Ubercart 8.4
Implements hook_theme().
File
- shipping/
uc_fulfillment/ uc_fulfillment.module, line 48 - Organizes ordered products into packages and sets them up for shipment.
Code
function uc_fulfillment_theme() {
return [
'uc_packing_slip' => [
'variables' => [
'order' => NULL,
'shipment' => NULL,
'labels' => TRUE,
'print' => FALSE,
'business_header' => FALSE,
],
'template' => 'uc-packing-slip',
],
'uc_packing_slip_page' => [
'variables' => [
'content' => NULL,
],
'template' => 'uc-packing-slip-page',
],
];
}