Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
The node_taxonomy condition only works if a term_reference field is used.
terms can also be referenced by entityreference fields.
Here is a simple Patch for this Feature Request.
Comment | File | Size | Author |
---|---|---|---|
#5 | context_uuid-support_entity_reference-2368269-5.patch | 1.27 KB | eyilmaz |
support_entityreference_field_for_taxonomy_terms1.patch | 1.22 KB | eyilmaz |
Comments
Comment #1
eyilmazComment #2
eyilmazComment #3
eyilmazreferencing the same issue from context module, maybe the way the issue solved there should be applied also here (instead of the attached patch).
Comment #4
skwashd CreditAttribution: skwashd at Dave Hall Consulting commentedIn general this looks good. I found one formatting issue - see below.
This needs to comply with the coding standards, namely the you need the braces and the
$term
assignment needs to be on a new line.Comment #5
eyilmazHi,
thanks for reviewing.
Here is the patch with braces.