function commerce_gc_product_commerce_line_item_type_info in Commerce GC 7
File
- modules/
commerce_gc_product/ commerce_gc_product.module, line 23 - Provides Giftcard product type and support.
Code
function commerce_gc_product_commerce_line_item_type_info() {
$types['giftcard_purchase'] = array(
'type' => 'giftcard_purchase',
'name' => t('Giftcard Purchase'),
'description' => t('Default giftcard line item type with mail and message fields.'),
'giftcard' => TRUE,
'add_form_submit_value' => t('Add giftcard product'),
);
return $types;
}