You are here

function video_metadata_admin_settings_validate in Video 6.4

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

File

./video.admin.inc, line 177

Code

function video_metadata_admin_settings_validate($form, &$form_state) {

  // add vallidations by metadata interface
  $metadata = $form_state['values']['vid_metadata'];
  module_load_include('inc', 'video', '/includes/metadata');
  $metadata = new video_metadata($metadata);
  $metadata
    ->admin_settings_validate($form, $form_state);
}