You are here

function Notifications_Event::create_template in Notifications 7

Create message template to build this event as text

The value will be taken from this event's defaults, but can be overriden on hook_notifications('event types')

1 call to Notifications_Event::create_template()
Notifications_Event::get_template in ./notifications.event.inc
Get message template to build this event as text

File

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

Class

Notifications_Event
Notifications Event class

Code

function create_template() {
  $template_name = $this
    ->get_type('template', 'default');
  return notifications_template($template_name)
    ->set_event($this);
}