You are here

function _video_image_pause_messages in Video 6.2

Same name and namespace in other branches
  1. 5 plugins/video_image/video_image.module \_video_image_pause_messages()
  2. 6 plugins/video_image/video_image.module \_video_image_pause_messages()
2 calls to _video_image_pause_messages()
_video_image_delete in plugins/video_image/video_image.module
_video_image_presave in plugins/video_image/video_image.module

File

plugins/video_image/video_image.module, line 442
Enable image support for video module.

Code

function _video_image_pause_messages($snapshot = false) {
  static $messages = null;
  if ($snapshot) {
    $messages = drupal_get_messages();
  }
  else {
    if (is_array($messages)) {
      $_SESSION['messages'] = $messages;
      $messages = null;
    }
  }
}