function commerce_shipping_commerce_line_item_type_info in Commerce Shipping 7
Same name and namespace in other branches
- 7.2 commerce_shipping.module \commerce_shipping_commerce_line_item_type_info()
Implements hook_commerce_line_item_info().
File
- ./
commerce_shipping.module, line 77 - Defines the shipping system and checkout integration.
Code
function commerce_shipping_commerce_line_item_type_info() {
$line_item_types = array();
$line_item_types['shipping'] = array(
'type' => 'shipping',
'name' => t('Shipping'),
'description' => t('References a shipping method and displays it with the service title.'),
'add_form_submit_value' => t('Add shipping'),
'base' => 'commerce_shipping_line_item',
);
return $line_item_types;
}