function commerce_order_set_properties in Commerce Core 7
Callback for setting order properties.
See also
commerce_order_entity_property_info()
1 string reference to 'commerce_order_set_properties'
- commerce_order_entity_property_info in modules/
order/ commerce_order.info.inc - Implements hook_entity_property_info().
File
- modules/
order/ commerce_order.module, line 1445 - Defines the core Commerce order entity and API functions to manage orders and interact with them.
Code
function commerce_order_set_properties($order, $name, $value) {
if ($name == 'owner') {
$order->uid = $value;
}
}