You are here

function mee_store_format in Scald: Media Management made easy 7

Returns the current storage format for embedded atoms.

Return value

string

  • 'sas' when using the legacy CKEditor plugin,
  • 'embed_div' when using the CKEditor 4 widget plugin.
10 calls to mee_store_format()
dnd_admin_form in modules/library/dnd/dnd.admin.inc
Provides the main DnD settings form.
mee_ckeditor_plugin in modules/fields/mee/mee.module
Implements hook_ckeditor_plugin().
mee_editor_ckeditor_plugins in modules/fields/mee/mee.module
Implements hook_editor_ckeditor_plugins().
mee_field_attach_view_alter in modules/fields/mee/mee.module
Implements hook_field_attach_view_alter.
mee_field_widget_form_alter in modules/fields/mee/mee.module
Implements hook_field_widget_form_alter().

... See full list

2 string references to 'mee_store_format'
mee_install in modules/fields/mee/mee.install
Implements hook_install().
mee_update_7002 in modules/fields/mee/mee.install
Explicitly default mee storage format to 'sas' for existing sites.

File

modules/fields/mee/mee.module, line 211
Defines a special textarea, with drag and drop media driven by Scald and dnd.module.

Code

function mee_store_format() {
  return variable_get('mee_store_format', 'embed_div');
}