You are here

function heartbeat_group_messages in Heartbeat 6.2

Function to group messages, remove duplicates, check timespan, permissions, interests, etc ..;

Parameters

array $messages:

1 call to heartbeat_group_messages()
heartbeat_block in ./heartbeat.module
Implementation of hook_blocks()

File

./heartbeat.module, line 348
To fully understand this, you have to be familiar with the rules module. Lots of documentation can be found on http://drupal.org/node/298480 for an introduction and tutorial, but http://drupal.org/node/298486 is a lot of handy info for developers.

Code

function heartbeat_group_messages($messages) {

  //$messages = heartbeat_group_remove_duplicates();
  return $messages;
}