You are here

public function HeartbeatType::__construct in Heartbeat 8

@inheritDoc

Overrides ConfigEntityBase::__construct

File

src/Entity/HeartbeatType.php, line 232

Class

HeartbeatType
Defines the Heartbeat type entity.

Namespace

Drupal\heartbeat\Entity

Code

public function __construct(array $values, $entity_type) {
  parent::__construct($values, $entity_type);
  $this->entityManager = \Drupal::entityManager();
  $this->entityTypeManager = \Drupal::entityTypeManager();
}