You are here

function video_validate in Video 6

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

Implementation of hook_validate

File

./video.module, line 706
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);
}