You are here

public function MembersActivity::modifyActivityMessage in Heartbeat 7

modifyActivityMessage().

Overrides HeartbeatStream::modifyActivityMessage

File

modules/heartbeat_og/streams/membersactivity.inc, line 47
Defines a stream for Member Activity.

Class

MembersActivity
Concrete class MembersActivity Defines a stream displaying all activity from members in a group.

Code

public function modifyActivityMessage(HeartbeatActivity $heartbeatActivity) {

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