You are here

function video_preset_delete_submit in Video 7

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

Button sumit 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

File

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

Code

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