function uc_order_product_node_property_get in Ubercart 7.3
Entity metadata callback: get the full product node for an order product.
2 string references to 'uc_order_product_node_property_get'
- UcOrderProductMetadataController::entityPropertyInfo in uc_order/
uc_order.info.inc - uc_cart_entity_property_info in uc_cart/
uc_cart.info.inc - Implements hook_entity_property_info().
File
- uc_order/
uc_order.module, line 2286
Code
function uc_order_product_node_property_get($product, array $options, $name, $entity_type) {
return node_load($product->nid);
}