You are here

public function GroupActivity::modifyActivityMessage in Heartbeat 7

modifyActivityMessage().

Overrides HeartbeatStream::modifyActivityMessage

File

modules/heartbeat_og/streams/groupactivity.inc, line 44
Defines a stream for Group Activity.

Class

GroupActivity
Concrete class GroupActivity Defines a stream for activity within a group.

Code

public function modifyActivityMessage(HeartbeatActivity $heartbeatActivity) {

  // Add the content node context.
  $heartbeatActivity->nid = $this->nid;
  $heartbeatActivity->in_group = 1;
}