You are here

function theme_message in Message 6

Theme the message.

1 theme call to theme_message()
message_show_message in ./message.module
Show a message by the message instance ID.

File

./message.module, line 722
API functions to manipulate messages.

Code

function theme_message($message = array()) {
  return '<span class="message message-instance-' . $message['message']->iid . '">' . $message['output'] . '</span>';
}