Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Right now, I believe the template is forked from classy which has some horrible handling around markup being different for mutli and single delta fields.
I propose the markup remains the same regardless of the field cardinality, the template is highly simplified and the tests are expanded to assert the change.
Comment | File | Size | Author |
---|---|---|---|
#2 | 2576635-better-field-template.patch | 4.62 KB | Sam152 |
|
Comments
Comment #2
Sam152 CreditAttribution: Sam152 commentedAttached is a more predictable field template with an updated test to test all field classes and configurable tags work.
Comment #3
Sam152 CreditAttribution: Sam152 commentedAs shown in the test, the markup shown might look something like:
Comment #4
Sam152 CreditAttribution: Sam152 commented