You are here

public function HeartbeatService::__construct in Heartbeat 8

Constructor.

Parameters

EntityTypeManager $entity_type_manager:

QueryFactory $entity_query:

File

src/HeartbeatService.php, line 32

Class

HeartbeatService
Class HeartbeatService.

Namespace

Drupal\heartbeat

Code

public function __construct(EntityTypeManager $entity_type_manager, QueryFactory $entity_query) {
  $this->entityTypeManager = $entity_type_manager;
  $this->entityQuery = $entity_query;
}