You are here

public function HeartbeatStreamServices::loadStream in Heartbeat 8

File

src/HeartbeatStreamServices.php, line 108

Class

HeartbeatStreamServices
Class HeartbeatStreamServices.

Namespace

Drupal\heartbeat

Code

public function loadStream($type) {
  return $this->entityQuery
    ->get('heartbeat_stream')
    ->condition('name', $type)
    ->execute();
}