You are here

public static function Notifications_Queue::message_template in Notifications 6.4

Get message template for notifications

This is a hidden variable that can be overridden to use a different class: notifications_message_template

1 call to Notifications_Queue::message_template()
Notifications_Queue::process_compose in includes/notifications_queue.class.inc
Message composition.

File

includes/notifications_queue.class.inc, line 590

Class

Notifications_Queue
Queue management and processing

Code

public static function message_template($params = NULL) {
  $class = variable_get('notifications_message_template', 'Notifications_Message');
  return new $class($params);
}