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.
This sounds easy enough, but a bunch of things blow up in the Views wizard when you do this.
Comment | File | Size | Author |
---|---|---|---|
#1 | 2277813.1.flag_.wip_.views-base-table.patch | 755 bytes | joachim |
Comments
Comment #1
joachim CreditAttribution: joachim commentedPatch with the declaration in case anyone else has time to take this further.
Comment #2
ericclaeren CreditAttribution: ericclaeren commentedI have tried to to use this, but it brings a lot of problems, all current flag handlers expect relations, and since there aren't, errors gallore.
There should be a mechanism in the handlers, to detect if the view is based on a relation or not. But i'm not that big of a views wizard :)
I managed to do something similar, because I needed a view based on flaggings with remote custom entities without a relation or a db table and it works. By creating handlers without relations and doing a entity_load in the get_value of the custom entity handler.
This is my approach.
Comment #3
DamienMcKennaThis would definitely be useful.