You are here

public function HeartbeatTypeService::__construct in Heartbeat 8

Constructor.

Parameters

EntityTypeManager $entityTypeManager:

EntityTypeBundleInfo $entityTypeBundleInfo:

QueryFactory $entity_query:

File

src/HeartbeatTypeService.php, line 44

Class

HeartbeatTypeService
Class HeartbeatTypeService.

Namespace

Drupal\heartbeat

Code

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