public function HeartbeatInterface::setNid in Heartbeat 8
Sets the Heartbeat user.
Parameters
int uid: The Heartbeat user.
1 method overrides HeartbeatInterface::setNid()
- Heartbeat::setNid in src/
Entity/ Heartbeat.php - Sets the Heartbeat user.
File
- src/
Entity/ HeartbeatInterface.php, line 99
Class
- HeartbeatInterface
- Provides an interface for defining Heartbeat entities.
Namespace
Drupal\heartbeat\EntityCode
public function setNid($nid);