You are here

function commerce_discount_views_api in Commerce Discount 7

Implements hook_views_api().

File

./commerce_discount.module, line 269
Defines the discount and discount offer entities, bundles and functionality.

Code

function commerce_discount_views_api($module, $api) {
  return array(
    'version' => 3,
    'path' => drupal_get_path('module', 'commerce_discount') . '/includes/views',
  );
}