function commerce_price_views_api in Commerce Core 7
Implements hook_views_api().
File
- modules/
price/ commerce_price.module, line 1113 - Defines the Price field with widgets and formatters used to add prices with currency codes to various Commerce entities.
Code
function commerce_price_views_api() {
return array(
'api' => 3,
'path' => drupal_get_path('module', 'commerce_price') . '/includes/views',
);
}