You are here

function ds_delete_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_delete_view_mode_confirm_submit()

Confirmed view mode delete submit callback.

File

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

Code

function ds_delete_view_mode_confirm_submit($form, &$form_state) {
  ds_remove_view_mode($form, $form_state, 'deleted');
}