You are here

public function TemplateCreator::getPreview in Heartbeat 8

Return value

string

File

modules/statusmessage/src/TemplateCreator.php, line 53

Class

TemplateCreator

Namespace

Drupal\statusmessage

Code

public function getPreview() {
  if ($this->imageMarkup === null) {
    $this
      ->generateImageMarkup();
  }
  return $this
    ->wrap($this->title . $this->description . $this->imageMarkup);
}