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.
Subform doesn't work with modules like dragndrop_upload because it rewrites #name of subform elements, and makes it too late.
The issue is with order of pre_render hooks attached to subform. In my case, subform's pre_render is called at the end, after other pre_render functions got executed. In effec, dragndrop_upload uses invalid, "old" #name.
Comment | File | Size | Author |
---|---|---|---|
#1 | subform-fix_pre_render_order-2426297-1.patch | 483 bytes | lklimek |
Comments
Comment #1
lklimek CreditAttribution: lklimek commentedPatch attached.