function uc_order_event_info in Ubercart 5
File
- uc_order/
uc_order_workflow.inc, line 24 - This file contains the Workflow-ng hooks and functions necessary to make the order related entity, conditions, events, and actions work.
Code
function uc_order_event_info() {
$events['order_status_update'] = array(
'#label' => t('Order status gets updated'),
'#module' => t('Order'),
'#arguments' => array(
'order' => array(
'#entity' => 'order',
'#label' => t('Order'),
),
'updated_order' => array(
'#entity' => 'order',
'#label' => t('Updated order'),
),
),
);
return $events;
}