tripal_feature.views.inc 744 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. /**
  3. * @file
  4. * This file contains the basic functions for views integration of
  5. * chado/tripal feature tables
  6. */
  7. /**
  8. * Implements hook_views_handlers().
  9. *
  10. * Purpose: Register all custom handlers with views
  11. * where a handler describes either "the type of field",
  12. * "how a field should be filtered", "how a field should be sorted"
  13. *
  14. * @return: An array of handler definitions
  15. *
  16. * @ingroup tripal_legacy_feature
  17. */
  18. function tripal_feature_views_handlers() {
  19. return array(
  20. 'info' => array(
  21. 'path' => drupal_get_path('module', 'tripal_feature') . '/views_handlers',
  22. ),
  23. 'handlers' => array(
  24. 'views_handler_field_residues' => array(
  25. 'parent' => 'views_handler_field',
  26. ),
  27. ),
  28. );
  29. }