You are here

function notifications_template in Notifications 7

Create notifications template object

File

./notifications.module, line 604
Notifications module

Code

function notifications_template($name) {
  $class = notifications_info('message templates', $name, 'class', 'Notifications_Message_Template');
  $info = notifications_info('message templates', $name);
  return new $class($info);
}