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.
JsonldBundle has confused me in #1850704: Available serialization formats: we only have one encoder so the foreach loop makes it unnecessarily complex.
Comment | File | Size | Author |
---|---|---|---|
#2 | jsonld-encoders-1889244-2.patch | 1.45 KB | klausi |
#1 | jsonld-encoders-1889244-1.patch | 1.45 KB | klausi |
Comments
Comment #1
klausiSimple patch attached.
Comment #2
klausiFixed comment style that linclark pointed out.
Comment #3
Anonymous (not verified) CreditAttribution: Anonymous commentedThis looks good to me. There were originally two encoders, so that's probably how this ended up being an array.
Once it's green, it's fine for RTBC.
Comment #4
Anonymous (not verified) CreditAttribution: Anonymous commentedComment #5
klausiRTBC per #4.
Comment #6
catchLooks much nicer. Committed/pushed to 8.x, thanks!