You are here

function media_wysiwyg_update_7202 in D7 Media 7.3

Same name and namespace in other branches
  1. 7.4 modules/media_wysiwyg/media_wysiwyg.install \media_wysiwyg_update_7202()
  2. 7.2 modules/media_wysiwyg/media_wysiwyg.install \media_wysiwyg_update_7202()

Use the legacy file entity rendering method for existing sites.

Existing sites can change this setting at admin/config/media/browser.

File

modules/media_wysiwyg/media_wysiwyg.install, line 146
Install, update and uninstall functions for the Media WYSIWYG module.

Code

function media_wysiwyg_update_7202() {
  variable_set('media_wysiwyg_default_render', 'field_attach');
}