You are here

function ds_revert_view_mode_confirm_submit in Display Suite 7

Same name and namespace in other branches
  1. 7.2 modules/ds_ui/includes/ds.view_modes.inc \ds_revert_view_mode_confirm_submit()

Confirmed view mode revert submit callback.

File

./ds.view_modes.inc, line 243
Administrative functions for managing view modes for every entity.

Code

function ds_revert_view_mode_confirm_submit($form, &$form_state) {
  ds_remove_view_mode($form, $form_state, 'reverted');
}