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