1234567891011121314151617 |
- <?php
- /**
- * @file
- * Entity metadata hooks for uc_quote.module.
- */
- /**
- * Implements hook_entity_property_info_alter().
- */
- function uc_quote_entity_property_info_alter(&$info) {
- $info['uc_order_product']['properties']['shipping_type'] = array(
- 'type' => 'text',
- 'label' => t('Shipping type'),
- 'getter callback' => 'uc_product_get_shipping_type', // not a typical callback.
- );
- }
|