You are here

public function Heartbeat::getUid in Heartbeat 8

Gets the Heartbeat user.

Return value

int The uid of the Heartbeat's user.

Overrides HeartbeatInterface::getUid

File

src/Entity/Heartbeat.php, line 969

Class

Heartbeat

Namespace

Drupal\heartbeat\Entity

Code

public function getUid() {
  return $this
    ->get('uid');
}