You are here

public function HeartbeatType::setMessage in Heartbeat 8

Sets the translatable message This message creates the structure of each message

Parameters

string $message: The template message serving as the foundation of each message structure of this stream type

Overrides HeartbeatTypeInterface::setMessage

File

src/Entity/HeartbeatType.php, line 113

Class

HeartbeatType
Defines the Heartbeat type entity.

Namespace

Drupal\heartbeat\Entity

Code

public function setMessage($message) {
  $this
    ->set('message', $message);
}