function media_format_form_preview

cis7 media_wysiwyg_view_mode.module media_format_form_preview($form, $form_state)
cle7 media_wysiwyg_view_mode.module media_format_form_preview($form, $form_state)
elmsmedia7 media_wysiwyg_view_mode.module media_format_form_preview($form, $form_state)
icor7 media_wysiwyg_view_mode.module media_format_form_preview($form, $form_state)
meedjum_blog7 media_wysiwyg_view_mode.module media_format_form_preview($form, $form_state)
mooc7 media_wysiwyg_view_mode.module media_format_form_preview($form, $form_state)

AJAX callback to select the portion of the format form to be updated with a preview.

Parameters

array $form: An associative array containing the structure of the form.

array $form_state: An associative array containing the current state of the form.

Return value

array The preview form item.

1 string reference to 'media_format_form_preview'
media_wysiwyg_view_mode_form_alter in sites/all/modules/ulmus/media/modules/media_wysiwyg_view_mode/media_wysiwyg_view_mode.module
Implements hook_form_alter().

File

sites/all/modules/ulmus/media/modules/media_wysiwyg_view_mode/media_wysiwyg_view_mode.module, line 148
Primarily Drupal hooks.

Code

function media_format_form_preview($form, $form_state) {
  return $form['preview'];
}