tripal_feature.views.inc 870 B

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