You are here

function shouts_heartbeat_message_info in Heartbeat 6.3

Same name and namespace in other branches
  1. 6.4 modules/shouts/shouts.module \shouts_heartbeat_message_info()

Implementation of hook_heartbeat_message_info()

File

modules/shouts/shouts.module, line 70
Gives the possibility to the user to shout a message.

Code

function shouts_heartbeat_message_info() {
  return array(
    0 => array(
      'message_id' => 'heartbeat_shout',
      'message_type' => 'shout',
      'message' => '!user !message',
      'message_concat' => '',
      'concat_args' => array(
        'type' => 'single',
        'merge_target' => '',
        'merge_separator' => '',
        'merge_end_separator' => '',
      ),
      'module' => 'shouts',
      'description' => 'shout message',
      'variables' => array(
        '@user' => '[user:user-name-url]',
        '@message' => '[shout:comment-body-raw]',
      ),
    ),
  );
}