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.
Sooo...the Media Entity EB widget requires a media bundle to be configured, but there is no way for the user to set this configuration value. Which sucks, because without that config value, the widget will fatal when a file is uploaded.
The attached patch adds a configuration option for setting the bundle.
Comment | File | Size | Author |
---|---|---|---|
#6 | 2722517-6.patch | 4.03 KB | phenaproxima |
#4 | 2722517-4.patch | 4.79 KB | phenaproxima |
dropzonejs-eb-media-bundle-config-option.patch | 4.03 KB | phenaproxima |
Comments
Comment #4
phenaproximaFixed broken test resulting from bad XPath query.
Comment #5
phenaproximaComment #6
phenaproximaRe-rolled to account for a bug fix in a test which was committed in #2724113: Dropzone elements should set a default maximum file size.
Comment #7
Primsi CreditAttribution: Primsi at Examiner.com for Examiner.com commentedI think that it might make sense to join efforts with #2671914: Implement EB configuration UI and commit everything there. Would that work for you? We can ditch the pr there and create a patch with code from both issues.
Comment #9
Primsi CreditAttribution: Primsi at Examiner.com for Examiner.com commentedTested it and everything seems to work fine. Thanks!