You are here

function uc_stock_views_api in Ubercart 7.3

Same name and namespace in other branches
  1. 6.2 uc_stock/uc_stock.module \uc_stock_views_api()

Implements hook_views_api().

File

uc_stock/uc_stock.module, line 245
Allow ubercart products to have stock levels associated with their SKU

Code

function uc_stock_views_api() {
  return array(
    'api' => '2.0',
    'path' => drupal_get_path('module', 'uc_stock') . '/views',
  );
}