You are here

public function Notifications_Event::get_template in Notifications 7

Same name and namespace in other branches
  1. 6.4 includes/notifications_event.class.inc \Notifications_Event::get_template()

Get message template to build this event as text

The difference with create template is that this one keeps the template with the event so it can be reused

1 call to Notifications_Event::get_template()
Notifications_Event::send_list in ./notifications.event.inc
Send to subscriptors

File

./notifications.event.inc, line 149
Drupal Notifications Framework - Default class file

Class

Notifications_Event
Notifications Event class

Code

public function get_template() {
  if (!isset($this->template)) {
    $this->template = $this
      ->create_template();
  }
  return $this->template;
}