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.
With the use of the taxonomy entity index table, we can easily provide a ctools relationship context handler that can itself restrict on vocabularies and field usage. This relationship then could be used in panels, page manager, panelizer to pass related terms to views and so on.
Such a ctools plugin is already implemented for the core taxonomy_index. The same approach can be used for the taxonomy_entity_index.
I'll post a patch for that in the next comment.
Comment | File | Size | Author |
---|---|---|---|
#3 | ctools_taxonomy_entity_index-1958914-3.patch | 7.78 KB | derhasi |
#3 | interdiff.txt | 585 bytes | derhasi |
#1 | ctools_taxonomy_entity_index-1958914-1.patch | 7.38 KB | derhasi |
Comments
Comment #1
derhasi CreditAttribution: derhasi commentedAnd there is the patch :D
Comment #2
saltednutI love this idea - really swamped right now so anyone that can help RTBC this would be much appreciated.
Comment #3
derhasi CreditAttribution: derhasi commentedOne small change to avoid php notices.
Comment #3.0
derhasi CreditAttribution: derhasi commentedFixed wording.