You are here

function ds_extras_switch_view_mode_preview_callback in Display Suite 7.2

Ajax callback for _ds_field_ui_table_layouts_preview().

1 string reference to 'ds_extras_switch_view_mode_preview_callback'
ds_extras_form_node_form_alter in modules/ds_extras/ds_extras.module
Implements hook_form_FORM_ID_alter().

File

modules/ds_extras/ds_extras.module, line 470
Display Suite extras main functions.

Code

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