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.
Problem/Motivation
The proposed WYSIWYG patch #2686171: WYSIWYG Integration calls renderThumbnail to trigger a download without needing the rendered thumbnail. This method should potentially be made public to prevent this.
Proposed resolution
Make it public and potentially add it to the interface.
Remaining tasks
Decide and patch.
User interface changes
None.
API changes
Possible API break, but not for people extending the base plugin.
Data model changes
None.
Comment | File | Size | Author |
---|---|---|---|
#9 | 2687077-public-download-thumbnail-9.patch | 4.65 KB | Sam152 |
#3 | 2687077-public-download-thumbnail.patch | 4.26 KB | Sam152 |
Comments
Comment #2
benjy CreditAttribution: benjy at PreviousNext commentedComment #3
Sam152 CreditAttribution: Sam152 as a volunteer and at PreviousNext commentedComment #9
Sam152 CreditAttribution: Sam152 as a volunteer and at PreviousNext commentedReroll.
Comment #10
Sam152 CreditAttribution: Sam152 as a volunteer and at PreviousNext commentedThis removes two @todos from the code base. It's on the provider base so I don't think it's at all disruptive. It adds a bit more flexibility, so I think it's worth the BC break.
Comment #12
Sam152 CreditAttribution: Sam152 as a volunteer and at PreviousNext commented