function _video_image_promote_thumbnails in Video 6
Same name and namespace in other branches
- 5 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_presave in plugins/
video_image/ video_image.module
File
- plugins/
video_image/ video_image.module, line 481 - video_image.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;
}