public function Heartbeat::setNid in Heartbeat 8
Sets the Heartbeat user.
Parameters
int uid: The Heartbeat user.
Overrides HeartbeatInterface::setNid
File
- src/
Entity/ Heartbeat.php, line 1003
Class
Namespace
Drupal\heartbeat\EntityCode
public function setNid($nid) {
$this
->set('nid', $nid);
}