You are here

public function HeartbeatStreamServices::getAllStreams in Heartbeat 8

1 call to HeartbeatStreamServices::getAllStreams()
HeartbeatStreamServices::loadAllStreams in src/HeartbeatStreamServices.php

File

src/HeartbeatStreamServices.php, line 140

Class

HeartbeatStreamServices
Class HeartbeatStreamServices.

Namespace

Drupal\heartbeat

Code

public function getAllStreams() {
  return $this->entityTypeManager
    ->getStorage('heartbeat_stream')
    ->loadMultiple($this
    ->loadAllEntities());
}