public static function Heartbeat::parseMessage in Heartbeat 8
Parses a HeartbeatType message template and maps variable values onto matching keywords
Parameters
$translatedMessage:
$variables:
Return value
string
File
- src/
Entity/ Heartbeat.php, line 786
Class
Namespace
Drupal\heartbeat\EntityCode
public static function parseMessage($translatedMessage, $variables) {
return strtr($translatedMessage, $variables);
}