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.
Provide a relationship from the term to the original field.
Comment | File | Size | Author |
---|---|---|---|
#2 | 1188500-reverse-relationship-for-term.patch | 7.24 KB | merlinofchaos |
#1 | 1188500.patch | 2.1 KB | dawehner |
Comments
Comment #1
dawehnerJust some initial code without testing.
Comment #2
merlinofchaos CreditAttribution: merlinofchaos commentedThis seems to work well, and I successfully chained a relationship back onto itself and got the nice A x B grid you'd expect.
Comment #3
merlinofchaos CreditAttribution: merlinofchaos commentedI went ahead and committed this.
We need to document this, and then get references.module and commerce.module (at least) to update their relationships to include reverse relationships. That should put the whole reverse relationships issue to bed.
Comment #5
yched CreditAttribution: yched commentedFYI : Committed #1083902: Backreferencing (listing nodes that reference the target node) to References. Thanks guys !
(Question regarding user facing titles and help for the reversed relationships in #43 over there)