You are here

public function HeartbeatService::load in Heartbeat 8

File

src/HeartbeatService.php, line 44

Class

HeartbeatService
Class HeartbeatService.

Namespace

Drupal\heartbeat

Code

public function load($id) {
  return $this->entityTypeManager
    ->getStorage("heartbeat")
    ->load($id);
}