private static function Heartbeat::buildMediaMarkup in Heartbeat 8
1 call to Heartbeat::buildMediaMarkup()
- Heartbeat::buildMessage in src/
Entity/ Heartbeat.php - Builds a message template for a given HeartbeatType
File
- src/
Entity/ Heartbeat.php, line 529
Class
Namespace
Drupal\heartbeat\EntityCode
private static function buildMediaMarkup($mediaData) {
$markup = '';
foreach ($mediaData as $media) {
$markup .= self::mediaTag($media->type, $media->path);
}
return $markup;
}