You are here

public function HeartbeatTypeInterface::setMainEntity in Heartbeat 8

Sets the main Entity Type of the Heartbeat Type

Parameters

string $mainentity: Describing entity type used in this Heartbeat Type

1 method overrides HeartbeatTypeInterface::setMainEntity()
HeartbeatType::setMainEntity in src/Entity/HeartbeatType.php
Sets the main Entity Type of the Heartbeat Type

File

src/Entity/HeartbeatTypeInterface.php, line 59

Class

HeartbeatTypeInterface
Provides an interface for defining Heartbeat type entities.

Namespace

Drupal\heartbeat\Entity

Code

public function setMainEntity($mainentity);