You are here

public function HeartbeatTypeService::load in Heartbeat 8

File

src/HeartbeatTypeService.php, line 55

Class

HeartbeatTypeService
Class HeartbeatTypeService.

Namespace

Drupal\heartbeat

Code

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