You are here

function video_preset_import_submit in Video 7

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

Submit handler for the preset import form.

1 string reference to 'video_preset_import_submit'
video_preset_import_form in modules/video_ui/video.preset.inc
Import's a preset.

File

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

Code

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