You are here

public function ContentModerationNotification::disableSiteMail in Content Moderation Notifications 8.3

Send the notification to the site mail address.

Return value

bool Returns FALSE if the notification should be sent to site mail address.

Overrides ContentModerationNotificationInterface::disableSiteMail

File

src/Entity/ContentModerationNotification.php, line 191

Class

ContentModerationNotification
Defines the content_moderation_notification entity.

Namespace

Drupal\content_moderation_notifications\Entity

Code

public function disableSiteMail() {
  return (bool) $this
    ->get('site_mail');
}