To allow for developers to override or customize the HTML generated to replace embed codes, all HTML output should be done in a theme() function. This patch moves some code from _mytube_replaceembed to a template file, which allows it to be customized using hook_preprocess_mytube_instance() or by overriding the template file.

The patch should apply cleanly to the 6.x-1.x branch.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

grndlvl’s picture

Version: 6.x-1.0 » 7.x-1.x-dev
Issue summary: View changes
Status: Active » Needs review
FileSize
7.37 KB

Re-rolled against 7.x-1.x.

  • mfb committed 0a8084d on 7.x-1.x authored by theunraveler
    Issue #2082717 by theunraveler, grndlvl: Embed code replacement HTML...
mfb’s picture

Status: Needs review » Fixed

\o/

Status: Fixed » Closed (fixed)

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