You are here

function video_preset_revert_submit in Video 7.2

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

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

File

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

Code

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