uc_quote.info.inc 399 B

1234567891011121314151617
  1. <?php
  2. /**
  3. * @file
  4. * Entity metadata hooks for uc_quote.module.
  5. */
  6. /**
  7. * Implements hook_entity_property_info_alter().
  8. */
  9. function uc_quote_entity_property_info_alter(&$info) {
  10. $info['uc_order_product']['properties']['shipping_type'] = array(
  11. 'type' => 'text',
  12. 'label' => t('Shipping type'),
  13. 'getter callback' => 'uc_product_get_shipping_type', // not a typical callback.
  14. );
  15. }