You are here

function _assets_get_default_wysiwyg_mode in Asset 7

Get default wysiwyg mode by bundle.

1 call to _assets_get_default_wysiwyg_mode()
asset_form_field_ui_display_overview_form_alter in ./asset.module
Implements hook_form_FORM_ID_alter().

File

./asset.module, line 1121
Asset module.

Code

function _assets_get_default_wysiwyg_mode($bundle) {
  $settings = variable_get('assets_default_wysiwyg_modes', array());
  return isset($settings[$bundle]) ? $settings[$bundle] : array();
}