You are here

function _video_image_pause_messages in Video 5

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

File

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