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