You are here

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

Sets the token service.

Parameters

\Drupal\Core\Utility\Token $token_service: The new token service.

Return value

$this

File

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

Class

Email
Provides e-mails as a notification mechanism.

Namespace

Drupal\search_api_saved_searches\Plugin\search_api_saved_searches\notification

Code

public function setTokenService(Token $token_service) {
  $this->tokenService = $token_service;
  return $this;
}