You are here

function assets_set_default_wysiwyg_mode in Asset 7

Set default wysiwyg mode by bundle.

1 call to assets_set_default_wysiwyg_mode()
assets_field_ui_display_overview_form_submit in ./asset.module
Custom submit handler.

File

./asset.module, line 1129
Asset module.

Code

function assets_set_default_wysiwyg_mode($bundle, $settings) {
  $current_settings = variable_get('assets_default_wysiwyg_modes', array());
  $current_settings[$bundle] = $settings;
  variable_set('assets_default_wysiwyg_modes', $current_settings);
}