You are here

function video_validate in Video 6.2

Same name and namespace in other branches
  1. 5 video.module \video_validate()
  2. 6 video.module \video_validate()

Implementation of hook_validate

File

./video.module, line 823
video.module

Code

function video_validate($node, $form = array()) {
  if (!video_support_autoresolution($node) || $node->vresolution) {

    // we have some resolution value
    // form api checked for good values of vresolution
    if (variable_get("video_{$node->vresolution}_value", '') == '') {
    }
  }
  module_invoke('video_' . $node->vtype, 'v_validate', $node);
}