You are here

function commerce_product_views_api in Commerce Core 7

Implements hook_views_api().

File

modules/product/commerce_product.module, line 285
Defines the core Commerce product entity, including the entity itself, the bundle definitions (product types), and various API functions to manage products and interact with them through forms and autocompletes.

Code

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