public function ContentModerationNotification::getMessageFormat in Content Moderation Notifications 8.2
Same name and namespace in other branches
- 8.3 src/Entity/ContentModerationNotification.php \Drupal\content_moderation_notifications\Entity\ContentModerationNotification::getMessageFormat()
Gets the message format.
Return value
string The format to be used for the message body.
Overrides ContentModerationNotificationInterface::getMessageFormat
File
- src/
Entity/ ContentModerationNotification.php, line 123
Class
- ContentModerationNotification
- Defines the content_moderation_notification entity.
Namespace
Drupal\content_moderation_notifications\EntityCode
public function getMessageFormat() {
return $this
->get('body')['format'];
}