You are here

public function Heartbeat::setMessage in Heartbeat 8

Sets the Heartbeat Message.

Parameters

$name:

Return value

@internal param string $message The Heartbeat Message

Overrides HeartbeatInterface::setMessage

File

src/Entity/Heartbeat.php, line 179

Class

Heartbeat

Namespace

Drupal\heartbeat\Entity

Code

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