function commerce_gc_commerce_line_item_type_info in Commerce GC 7
File
- ./
commerce_gc.module, line 456 - Provides Giftcard coupon bundle, Giftcard Transaction entity and basic user interface elements.
Code
function commerce_gc_commerce_line_item_type_info() {
$types['giftcard_use'] = array(
'type' => 'giftcard_use',
'name' => t('Giftcard use'),
'description' => t('Line item for giftcard usage.'),
'add_form_submit_value' => t('Add giftcard'),
'base' => 'commerce_gc_line_item',
);
return $types;
}