You are here

function commerce_product_reference_views_api in Commerce Core 7

Implements hook_views_api().

File

modules/product_reference/commerce_product_reference.module, line 546
Defines a field type for referencing products from other entities.

Code

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