You are here

function uc_shipping_rules_event_info in Ubercart 7.3

Implements hook_rules_event_info().

File

shipping/uc_shipping/uc_shipping.rules.inc, line 208
Rules hooks for uc_shipping.module.

Code

function uc_shipping_rules_event_info() {
  $events['uc_shipment_save'] = array(
    'label' => t('A shipment is saved'),
    'group' => t('Fulfillment'),
    'variables' => array(
      'order' => array(
        'type' => 'uc_order',
        'label' => t('Order'),
      ),
      'shipment' => array(
        'type' => 'uc_shipment',
        'label' => t('Shipment'),
      ),
    ),
  );
  return $events;
}