public function HeartbeatInterface::getNid in Heartbeat 8
Gets the Heartbeat's associated node nid.
Return value
int The nid of the Heartbeat's associated node.
1 method overrides HeartbeatInterface::getNid()
- Heartbeat::getNid in src/
Entity/ Heartbeat.php - Gets the Heartbeat's associated node nid.
File
- src/
Entity/ HeartbeatInterface.php, line 90
Class
- HeartbeatInterface
- Provides an interface for defining Heartbeat entities.
Namespace
Drupal\heartbeat\EntityCode
public function getNid();