You are here

function heartbeat_site_messages in Heartbeat 6.3

function to show public heartbeats

1 string reference to 'heartbeat_site_messages'
heartbeat_menu in ./heartbeat.module
Implementation of hook_menu().

File

./heartbeat.module, line 647

Code

function heartbeat_site_messages() {
  $context = new HeartbeatMessageBuilder(new PublicHeartbeat());
  $messages = $context
    ->execute();
  return theme('heartbeat_block_private', $messages);
}