Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
How can I use datetime filter in hook_views_data? If I use 'datetime' as the filter ID, I get no result. Is there something else I should be doing to register it?
Comments
Comment #2
jhedstromHave you looked at
datetime_field_views_data()
(which implementshook_field_views_data()
)? The process of using this filter in an implementation ofhook_views_data()
should be similar.Comment #3
jhedstromClosing out old inactive issues.