You are here

public function Messaging_Message_Template::build_message in Messaging 7

Get Message_Object with this template linked

File

messaging_template/messaging_template.inc, line 429
Drupal Messaging Framework - Text filtering functions

Class

Messaging_Message_Template
Template for a full message (subject, body, etc..)

Code

public function build_message($options = array()) {
  $message = new Messaging_Message($options);
  $message
    ->set_template($this);
  return $message;
}