function tripal_example_views_api
2.x tripal_example.module | tripal_example_views_api() |
Implements hook_views_api()
This hook tells Drupal that there is views support for this module which then automatically includes the tripal_db.views.inc where all the views integration code is found.
File
- tripal_example/
tripal_example.module, line 189 - This file contains all Drupal hooks for the module other than any node hooks and block hooks. Those go in the [module name].chado_node.inc file and [module_name].blocks.inc respectively
Code
function tripal_example_views_api() {
return array(
'api' => 3.0,
);
}