function commerce_line_item_type_to_arg in Commerce Core 7
Returns a path argument from a line item type.
File
- modules/
line_item/ commerce_line_item.module, line 541 - Defines the core Commerce line item entity and API functions interact with line items on orders.
Code
function commerce_line_item_type_to_arg($type) {
return $type;
}