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