According to Dave Reid the styles support is deprecated and we can go ahead and remove it:

ditch styles completely... I don't know if people out there are using styles (I assume there are) but we've been doing everything we can to get people not using them anymore.

Comments

drewish’s picture

Status: Active » Needs review
StatusFileSize
new15.46 KB
steinmb’s picture

StatusFileSize
new15.54 KB

Eh, unable to apply that patch

error: patch failed: includes/themes/media_vimeo.theme.inc:59
error: includes/themes/media_vimeo.theme.inc: patch does not apply

Let's try that again, rolling new patch.

drewish’s picture

Yeah my patch was off of #1443092: Add more video display settings, switch to universal player. so it makes sense it wasn't clean. Are we missing anything else in here?

mallezie’s picture

Doesn't MediaVimeoStyles.inc also needs being removed?

drewish’s picture

StatusFileSize
new16.84 KB

Yeah I think so... doing that here.

steinmb’s picture

Status: Needs review » Reviewed & tested by the community

Nothing much have changed and I find no prob. with this patch. It correctly remove all traces of styles.

RobW’s picture

I think you can also remove

    'media_vimeo_field_formatter_styles' => array(
      'variables' => array('element' => NULL, 'style' => NULL),
      'file' => 'media_vimeo.theme.inc',
      'path' => $path . '/includes/themes',
    ),

Doing the same in Media: YouTube here: #1658102: Remove M:YT support for Styles module.

RobW’s picture

Status: Reviewed & tested by the community » Needs review
StatusFileSize
new15.93 KB

Added the deletions (heh) in #7 and re-rolled against the latest dev. Moving back to needs review until this version gets some testing.

RobW’s picture

StatusFileSize
new16.4 KB

Whoops, forgot the .info file.

RobW’s picture

Status: Needs review » Fixed

Committed on the new 7.x-2.x: http://drupal.org/node/1503158.

Status: Fixed » Closed (fixed)

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

Anonymous’s picture

Issue summary: View changes

Better formatting of Dave's quote.