You are here

function messaging_template_load in Messaging 6.4

Load template data. Menu loading callback

File

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

Code

function messaging_template_load($key) {
  $groups = module_invoke_all('messaging', 'message groups');
  if (isset($groups[$key])) {
    return $groups[$key] + array(
      'group' => $key,
    );
  }
}