You are here

function uc_shipping_theme in Ubercart 7.3

Same name and namespace in other branches
  1. 6.2 shipping/uc_shipping/uc_shipping.module \uc_shipping_theme()

Implements hook_theme().

File

shipping/uc_shipping/uc_shipping.module, line 212
Organizes ordered products into packages and sets them up for shipment. Shipping method modules may add functionality to generate shipping labels and tracking numbers.

Code

function uc_shipping_theme() {
  return array(
    'uc_shipping_new_package_fieldset' => array(
      'render element' => 'fieldset',
      'file' => 'uc_shipping.admin.inc',
    ),
    'uc_shipping_edit_package_fieldset' => array(
      'render element' => 'fieldset',
      'file' => 'uc_shipping.admin.inc',
    ),
    'uc_shipping_new_shipment' => array(
      'render element' => 'form',
      'file' => 'uc_shipping.admin.inc',
    ),
    'uc_shipping_shipment_print' => array(
      'variables' => array(
        'order' => NULL,
        'shipment' => NULL,
        'labels' => TRUE,
      ),
      'file' => 'uc_shipping.admin.inc',
    ),
    'uc_packing_slip' => array(
      'variables' => array(
        'order' => NULL,
        'shipment' => NULL,
      ),
      'template' => 'uc-packing-slip',
    ),
    'uc_packing_slip_page' => array(
      'variables' => array(
        'content' => NULL,
      ),
      'template' => 'uc-packing-slip-page',
    ),
  );
}