You are here

function messaging_template_message_group in Messaging 6.4

Returns information about message groups

Parameters

$group: Optional message group. Returns all groups if null.

$key: Optional message key inside the group. Returns all keys if null.

Return value

array() Depending on parameters, may be all message groups and keys or only a specific one.

2 calls to messaging_template_message_group()
messaging_template_admin_info in messaging_template/messaging_template.admin.inc
Build template description for admin pages
messaging_template_group_fallback in messaging_template/messaging_template.module
Get template fallback

File

messaging_template/messaging_template.module, line 290
Drupal Messaging Framework - Messaging template

Code

function messaging_template_message_group($group = NULL, $key = NULL) {
  static $info;
  if (!isset($info)) {
    $info = module_invoke_all('messaging', 'message groups');
  }
  return messaging_array_info($info, $group, $key);
}