You are here

public function Notifications_Message_Template::build_message in Notifications 7

Get Message_Object with this template linked

Overrides Messaging_Message_Template::build_message

File

./notifications.template.inc, line 29
Drupal Notifications Framework - Templates

Class

Notifications_Message_Template
Message template. This should be able to produce a full message by itself

Code

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