You are here

function ds_panels_layout_change_cancel in Display Suite 7

Submit callback: cancel the layout change.

1 string reference to 'ds_panels_layout_change_cancel'
ds_extras_form_panels_change_layout_alter in modules/ds_extras/ds_extras.panels.inc
Implements hook_form_FORM_ID_alter().

File

modules/ds_extras/ds_extras.panels.inc, line 692
Administrative functions for DS panels.

Code

function ds_panels_layout_change_cancel($form, &$form_state) {
  $form_state['redirect'] = $form_state['destination'];
}