function uc_order_ca_entity in Ubercart 6.2
Implements hook_ca_entity().
File
- uc_order/
uc_order.ca.inc, line 16 - This file contains the Conditional Actions hooks and functions necessary to make the order related entity, conditions, events, and actions work.
Code
function uc_order_ca_entity() {
$entities['uc_order'] = array(
'#title' => t('Ubercart order object'),
'#type' => 'object',
'#load' => 'uc_order_load',
'#save' => 'uc_order_save',
);
$entities['uc_line_item'] = array(
'#title' => t('Order line item'),
'#type' => 'array',
);
return $entities;
}