public function TMGMTMessage::getMessage in Translation Management Tool 7
Returns the translated message.
Return value
The translated message.
File
- entity/
tmgmt.entity.message.inc, line 107
Class
- TMGMTMessage
- Entity class for the tmgmt_message entity.
Code
public function getMessage() {
$text = $this->message;
if (is_array($this->variables) && !empty($this->variables)) {
$text = t($text, $this->variables);
}
return $text;
}