You are here

function notifications_template_list in Notifications 6.4

Same name and namespace in other branches
  1. 7 notifications.admin.inc \notifications_template_list()

Plain list of template names

1 call to notifications_template_list()
notifications_admin_events_tree_form in ./notifications.admin.inc
Build tree of event types

File

./notifications.admin.inc, line 455

Code

function notifications_template_list() {
  $list =& messaging_static(__FUNCTION__);
  if (!isset($list)) {
    notifications_include('templates.inc');
    foreach (notifications_get_templates() as $key => $template) {
      $list[$key] = $template['name'];
    }
  }
  return $list;
}