You are here

function notifications_template_list in Notifications 7

Same name and namespace in other branches
  1. 6.4 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 336

Code

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