filter.views.inc

  1. cis7 sites/all/modules/ulmus/views/modules/filter.views.inc
  2. cle7 sites/all/modules/ulmus/views/modules/filter.views.inc
  3. ecd7 sites/all/modules/ulmus/views/modules/filter.views.inc
  4. elmsmedia7 sites/all/modules/ulmus/views/modules/filter.views.inc
  5. harmony7 sites/all/modules/ulmus/views/modules/filter.views.inc
  6. icor7 sites/all/modules/ulmus/views/modules/filter.views.inc
  7. meedjum_blog7 sites/all/modules/ulmus/views/modules/filter.views.inc
  8. mooc7 sites/all/modules/ulmus/views/modules/filter.views.inc

Provide basic views data for filter.module.

Functions

Namesort descending Description
filter_views_data Implements hook_views_data().

File

sites/all/modules/ulmus/views/modules/filter.views.inc
View source
  1. <?php
  2. /**
  3. * @file
  4. * Provide basic views data for filter.module.
  5. *
  6. * @ingroup views_module_handlers
  7. */
  8. /**
  9. * Implements hook_views_data().
  10. */
  11. function filter_views_data() {
  12. // ----------------------------------------------------------------------
  13. // filter_format table
  14. // Have not defined $data['filter_formats']['table']['group'] since
  15. // no fields are defined here yet.
  16. $data['filter_formats']['moved to'] = 'filter_format';
  17. $data['filter_format']['table']['join'] = array(
  18. 'node_revision' => array(
  19. 'left_field' => 'format',
  20. 'field' => 'format',
  21. ),
  22. 'node' => array(
  23. 'left_table' => 'node_revision',
  24. 'left_field' => 'format',
  25. 'field' => 'format',
  26. ),
  27. );
  28. return $data;
  29. }

Related topics