You are here

function Messaging_Send_Method::message_render in Messaging 7

Same name and namespace in other branches
  1. 6.4 includes/messaging_method.class.inc \Messaging_Send_Method::message_render()
  2. 6.3 classes/messaging_method.class.inc \Messaging_Send_Method::message_render()

Prepare template for this method.

Here we can clone and alter the template or just return the same

File

./messaging.method.inc, line 182
Drupal Messaging Framework - Send_Method class file

Class

Messaging_Send_Method
Sending method, implements all specific method functionality

Code

function message_render($message) {
  $message
    ->get_template()
    ->set_method($this->method)
    ->set_format($this->format);
}