function _video_image_publish_thumbnails in Video 6.2
Same name and namespace in other branches
- 5 plugins/video_image/video_image.module \_video_image_publish_thumbnails()
- 6 plugins/video_image/video_image.module \_video_image_publish_thumbnails()
2 calls to _video_image_publish_thumbnails()
- video_image_admin_settings in plugins/
video_image/ video_image.module - Settings form
- _video_image_presave in plugins/
video_image/ video_image.module
File
- plugins/
video_image/ video_image.module, line 548 - Enable image support for video module.
Code
function _video_image_publish_thumbnails() {
$settings_override = variable_get('video_image_publish_thumbnail', NULL);
if ($settings_override === NULL) {
$node_options = variable_get('node_options_image', array(
'status',
'promote',
));
return in_array('status', $node_options);
}
return $settings_override;
}