You are here

public function Email::setMailService in Search API Saved Searches 8

Sets the mail service.

Parameters

\Drupal\Core\Mail\MailManagerInterface $mail_service: The new mail service.

Return value

$this

File

src/Plugin/search_api_saved_searches/notification/Email.php, line 99

Class

Email
Provides e-mails as a notification mechanism.

Namespace

Drupal\search_api_saved_searches\Plugin\search_api_saved_searches\notification

Code

public function setMailService(MailManagerInterface $mail_service) {
  $this->mailService = $mail_service;
  return $this;
}