You are here

public function StatusTypeService::loadAll in Heartbeat 8

File

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

Class

StatusTypeService
Class StatusTypeService.

Namespace

Drupal\statusmessage

Code

public function loadAll() {
  return $this->entityTypeManager
    ->getStorage('status_type')
    ->loadMultiple($this
    ->getTypes());
}