public function Heartbeat::getNid in Heartbeat 8
Gets the Heartbeat's associated node nid.
Return value
int The nid of the Heartbeat's associated node.
Overrides HeartbeatInterface::getNid
File
- src/
Entity/ Heartbeat.php, line 992
Class
Namespace
Drupal\heartbeat\EntityCode
public function getNid() {
return $this
->get('nid');
}