You are here

function video_preset_delete_submit in Video 7.2

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

Button submit function: handle the 'Delete' button on the preset form.

1 string reference to 'video_preset_delete_submit'
video_preset_form in modules/video_ui/video.preset.inc
Preset form builder.

File

modules/video_ui/video.preset.inc, line 661
Administrative interface for maintaining video presets.

Code

function video_preset_delete_submit($form, &$form_state) {
  $preset['name'] = $form_state['preset']['name'];
  $form_state['redirect'] = 'admin/config/media/video/presets/preset/' . $preset['name'] . '/delete';
}