You are here

public function StatusTypeService::getTypes in Heartbeat 8

1 call to StatusTypeService::getTypes()
StatusTypeService::loadAll in modules/statusmessage/src/StatusTypeService.php

File

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

Class

StatusTypeService
Class StatusTypeService.

Namespace

Drupal\statusmessage

Code

public function getTypes() {
  return $this->entityQuery
    ->get('status_type')
    ->execute();
}