tripal_example.views_default.inc

  • Describe default example views

File

tripal_example/tripal_example.views_default.inc
View source
  1. <?php
  2. /**
  3. * @file
  4. * Describe default example views
  5. */
  6. /**
  7. * Implements hook_views_default_views().
  8. *
  9. * @ingroup tripal_example
  10. */
  11. function tripal_example_views_default_views() {
  12. $views = array();
  13. // EXPLANATION: use this function to programmatically define any default
  14. // Drupal views that your module will provide automatically. Typically there
  15. // are two default views: 1) one for the administrator to quickly find data
  16. // managed by your module, or 2) one for users to be able to search for public
  17. // data.
  18. //
  19. // See another Tripal module such as tripal_feature for an example of how to
  20. // setup a default views.
  21. return $views;
  22. }