You are here

function video_preset_delete_confirm_submit in Video 7

Same name and namespace in other branches
  1. 7.2 modules/video_ui/video.preset.inc \video_preset_delete_confirm_submit()

Execute preset deletion

File

modules/video_ui/video.preset.inc, line 513

Code

function video_preset_delete_confirm_submit($form, &$form_state) {
  if ($form_state['values']['confirm']) {
    video_preset_delete($form_state['values']['name']);
  }
  $form_state['redirect'] = 'admin/config/media/video/presets';
}