function commerce_line_item_types_reset in Commerce Core 7
Resets the cached list of line item types.
1 call to commerce_line_item_types_reset()
- commerce_line_item_configure_line_item_fields in modules/
line_item/ commerce_line_item.module - Configures line item types defined by other modules that are enabled after the Line Item module.
File
- modules/
line_item/ commerce_line_item.module, line 483 - Defines the core Commerce line item entity and API functions interact with line items on orders.
Code
function commerce_line_item_types_reset() {
$line_item_types =& drupal_static('commerce_line_item_types');
$line_item_types = NULL;
entity_info_cache_clear();
}