tripal_feature.views.inc 993 B

12345678910111213141516171819202122232425262728293031323334353637383940
  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. * @defgroup tripal_feature_views Feature Views Integration
  13. * @ingroup views
  14. */
  15. /**
  16. * Implements hook_views_handlers()
  17. *
  18. * Purpose: Register all custom handlers with views
  19. * where a handler describes either "the type of field",
  20. * "how a field should be filtered", "how a field should be sorted"
  21. *
  22. * @return: An array of handler definitions
  23. *
  24. * @ingroup tripal_feature_views
  25. */
  26. function tripal_feature_views_handlers() {
  27. return array(
  28. 'info' => array(
  29. 'path' => drupal_get_path('module', 'tripal_feature') . '/views_handlers',
  30. ),
  31. 'handlers' => array(
  32. 'views_handler_field_residues' => array(
  33. 'parent' => 'views_handler_field',
  34. ),
  35. ),
  36. );
  37. }