You are here

function video_preset_admin_settings_validate in Video 6.5

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

File

./video.admin.inc, line 232

Code

function video_preset_admin_settings_validate($form, &$form_state) {
  $presets =& $form_state['values']['vid_preset'];
  $presets = array_diff($presets, array(
    0,
  ));
  $presets = array_values($presets);
}