You are here

public function ContentModerationNotification::getSubject in Content Moderation Notifications 8.2

Same name and namespace in other branches
  1. 8.3 src/Entity/ContentModerationNotification.php \Drupal\content_moderation_notifications\Entity\ContentModerationNotification::getSubject()

Gets the notification subject.

Return value

string The message subject.

Overrides ContentModerationNotificationInterface::getSubject

File

src/Entity/ContentModerationNotification.php, line 109

Class

ContentModerationNotification
Defines the content_moderation_notification entity.

Namespace

Drupal\content_moderation_notifications\Entity

Code

public function getSubject() {
  return $this
    ->get('subject');
}