You are here

function shouts_heartbeat_message_info in Heartbeat 6.4

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

Implementation of hook_heartbeat_message_info()

File

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

Code

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