You are here

function video_requirements in Video 6.5

Same name and namespace in other branches
  1. 6.4 video.install \video_requirements()
  2. 7.2 video.install \video_requirements()

Implementation of hook_requirements().

File

./video.install, line 228
Provides installation functions for video.module.

Code

function video_requirements($phase) {
  if ($phase != 'runtime') {
    return array();
  }
  $transcoder = video_get_transcoder();
  if ($transcoder != NULL) {
    return $transcoder
      ->requirements();
  }
  return array();
}