public function NodeActivity::setNid in Heartbeat 7
setNid().
1 call to NodeActivity::setNid()
- NodeActivity::construct in modules/
heartbeat_defaults/ streams/ nodeactivity.inc - Implements construct().
File
- modules/
heartbeat_defaults/ streams/ nodeactivity.inc, line 28
Class
- NodeActivity
- Class NodeActivity Stream with all activity related to nodes.
Code
public function setNid($nid) {
$this->nid = $nid;
// Add the node ID to the contextual arguments.
$this->contextual_arguments['nid'] = $this->nid;
}