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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Sam152 created an issue. See original summary.

benjy’s picture

Title: Consider making 'downloadThumbnail' a public method on ProverBase to account for WYSIWYG usage. » Consider making 'downloadThumbnail' a public method on ProviderBase to account for WYSIWYG usage.

Status: Needs review » Needs work

The last submitted patch, 3: 2687077-public-download-thumbnail.patch, failed testing.

The last submitted patch, 3: 2687077-public-download-thumbnail.patch, failed testing.

The last submitted patch, 3: 2687077-public-download-thumbnail.patch, failed testing.

The last submitted patch, 3: 2687077-public-download-thumbnail.patch, failed testing.

The last submitted patch, 3: 2687077-public-download-thumbnail.patch, failed testing.

Sam152’s picture

Sam152’s picture

This 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.

  • Sam152 committed cd3f98b on 8.x-1.x
    Issue #2687077 by Sam152: Consider making 'downloadThumbnail' a public...
Sam152’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.