You are here

function commerce_line_item_views_api in Commerce Core 7

Implements hook_views_api().

File

modules/line_item/commerce_line_item.module, line 240
Defines the core Commerce line item entity and API functions interact with line items on orders.

Code

function commerce_line_item_views_api() {
  return array(
    'api' => 3,
    'path' => drupal_get_path('module', 'commerce_line_item') . '/includes/views',
  );
}