function message_handler_field_message_render::render in Message 6
Same name and namespace in other branches
- 7 includes/views/handlers/message_handler_field_message_render.inc \message_handler_field_message_render::render()
File
- includes/
message_handler_field_message_render.inc, line 33 - Contains the message field handler.
Class
- message_handler_field_message_render
- Views field handler for rendering a message.
Code
function render($values) {
if (!empty($values->iid)) {
$message_instance = message_instance_load($values->iid);
return message_show_message($message_instance, $this->options['skip_access']);
}
}