You are here

function _video_image_thumbnail_debug in Video 6.2

Same name and namespace in other branches
  1. 5 plugins/video_image/video_image.module \_video_image_thumbnail_debug()
  2. 6 plugins/video_image/video_image.module \_video_image_thumbnail_debug()
5 calls to _video_image_thumbnail_debug()
video_google_v_auto_thumbnail in types/video_google/video_google.module
Implementation of hook_v_auto_thumbnail
video_youtube_v_auto_thumbnail in types/video_youtube/video_youtube.module
Implementation of hook_v_auto_thumbnail
_video_ffmpeg_helper_auto_thumbnail in plugins/video_ffmpeg_helper/video_ffmpeg_helper.module
Generates a thumbnail from the video file
_video_image_prepare in plugins/video_image/video_image.module
_video_image_presave in plugins/video_image/video_image.module

File

plugins/video_image/video_image.module, line 453
Enable image support for video module.

Code

function _video_image_thumbnail_debug($msg) {
  static $debug = NULL;
  if ($debug == NULL) {
    $debug = variable_get('video_image_auto_thumbnail_debug', false);
  }
  if ($debug) {
    $t = debug_backtrace();
    $l = array_shift($t);
    drupal_set_message(basename($l['file'], '.module') . ': ' . $msg);
  }
}