You are here

public function StatusTypeService::load in Heartbeat 8

File

modules/statusmessage/src/StatusTypeService.php, line 39

Class

StatusTypeService
Class StatusTypeService.

Namespace

Drupal\statusmessage

Code

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