function tripal_stock_views_api
2.x tripal_stock.module | tripal_stock_views_api() |
3.x tripal_stock.module | tripal_stock_views_api() |
1.x tripal_stock.module | tripal_stock_views_api() |
Implements hook_views_api().
Purpose: Essentially this hook tells drupal that there is views support for for this module which then includes tripal_stock.views.inc where all the views integration code is
Return value
An array with fields important for views integration
Related topics
File
- tripal_stock/
tripal_stock.module, line 252 - Basic functionality for stocks
Code
function tripal_stock_views_api() {
return array(
'api' => 3.0,
);
}