You are here

function video_metadata_admin_settings_validate in Video 7

Same name and namespace in other branches
  1. 6.4 video.admin.inc \video_metadata_admin_settings_validate()

File

modules/video_ui/video.admin.inc, line 160
Provides the administration settings for the Video Drupal module.

Code

function video_metadata_admin_settings_validate($form, &$form_state) {

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