You are here

function messaging_template_method_list in Messaging 6.3

Build method list for messaging template or get method name

2 calls to messaging_template_method_list()
messaging_template_edit_form in messaging_template/messaging_template.admin.inc
Edit message formats
messaging_template_fallback_description in messaging_template/messaging_template.admin.inc
Build description for template fallback

File

messaging_template/messaging_template.admin.inc, line 346
Messaging Framework - Admin UI

Code

function messaging_template_method_list($method = NULL) {
  $send_methods = array(
    'default' => t('Default'),
  );
  $send_methods += messaging_method_list();
  return $method ? $send_methods[$method] : $send_methods;
}