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.
As suggested for the Multiupload Imagefield Widget (#1849054: Compatibility with File Entity Inline Module ) we should implement support for the File Entity Inline module.
This is simply done by implementing the hook_file_entity_inline_widgets()
hook which is provided by the File Entity Inline module. #1862958: Don't rely on $element['fid']['#value'] when adding the fields needs to be resolved as well, but there's a patch that suggests a fix.
Comment | File | Size | Author |
---|---|---|---|
#1 | multiupload_filefield_widget-inline_entity_support-1864528-1.patch | 616 bytes | olofbokedal |
Comments
Comment #1
olofbokedal CreditAttribution: olofbokedal commentedComment #2
czigor CreditAttribution: czigor commentedHave not tested but the patch looks good to me. But just like in the case of #1849054: Compatibility with File Entity Inline Module , let's wait for #1862958: Don't rely on $element['fid']['#value'] when adding the fields to get fixed.
Comment #3
petiar CreditAttribution: petiar commentedMaybe my expectations are just too high, but even after applying this patch I can't get the multiupload feature to work with inline fields. Multiple files are uploaded, but I do not see the inline fields on node edit form. I would like to upload multiple mp3 files with additional fields - can anybody advise how to do that? Thanks...
Comment #4
DamienMcKennaFYI the other issue was rerolled and needs a review.
Comment #5
DamienMcKennaFYI the File Entity Inline issue was rerolled, some other fixes were committed, and I'd appreciate it if folks to review the latest module release along with this change. Thank you.
Comment #7
VladimirAusCommitted! Thank you everyone! 🍻