You are here

function ds_revert_view_mode_confirm 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()

Menu callback: Confirmation view mode revert form.

1 string reference to 'ds_revert_view_mode_confirm'
ds_menu in ./ds.module
Implements hook_menu().

File

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

Code

function ds_revert_view_mode_confirm($form, &$form_state, $view_mode = '') {
  return ds_remove_view_mode_confirm($form, $form_state, $view_mode, 'revert');
}