You are here

public function HeartbeatType::getMessage in Heartbeat 8

Gets the translatable message of the stream

Return value

string The Stream's message

Overrides HeartbeatTypeInterface::getMessage

File

src/Entity/HeartbeatType.php, line 123

Class

HeartbeatType
Defines the Heartbeat type entity.

Namespace

Drupal\heartbeat\Entity

Code

public function getMessage() {
  return $this
    ->get('message');
}