You are here

function _video_image_publish_thumbnails in Video 5

Same name and namespace in other branches
  1. 6 plugins/video_image/video_image.module \_video_image_publish_thumbnails()
  2. 6.2 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_submit in plugins/video_image/video_image.module

File

plugins/video_image/video_image.module, line 418
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;
}