You are here

public function Notification::__construct in Content Moderation Notifications 8.2

Same name and namespace in other branches
  1. 8.3 src/Notification.php \Drupal\content_moderation_notifications\Notification::__construct()

Creates a new ModerationInformation instance.

Parameters

\Drupal\Core\Mail\MailManager $mail_manager: The mail manager.

File

src/Notification.php, line 26

Class

Notification
General service for moderation-related questions about Entity API.

Namespace

Drupal\content_moderation_notifications

Code

public function __construct(MailManager $mail_manager) {
  $this->mailManager = $mail_manager;
}