function _video_image_thumbnail_debug in Video 5
Same name and namespace in other branches
- 6 plugins/video_image/video_image.module \_video_image_thumbnail_debug()
- 6.2 plugins/video_image/video_image.module \_video_image_thumbnail_debug()
4 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
File
- plugins/
video_image/ video_image.module, line 344 - 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);
}
}