You are here

public function OgHeartbeat::construct in Heartbeat 6.4

Fake constructor to hook this method instead of the constructor.

Overrides HeartbeatAccess::construct

File

modules/og_activity/ogheartbeat.inc, line 23

Class

OgHeartbeat
Class OgHeartbeat Concrete class to prepare messages for the current user and all of his/her relations.

Code

public function construct() {

  // Where the user id is a member of the group
  // and where the nid target is the group nid
  $this
    ->setGroup();
}