public function Email::getTokenService in Search API Saved Searches 8
Retrieves the token service.
Return value
\Drupal\Core\Utility\Token The token service.
File
- src/
Plugin/ search_api_saved_searches/ notification/ Email.php, line 133
Class
- Provides e-mails as a notification mechanism.
Namespace
Drupal\search_api_saved_searches\Plugin\search_api_saved_searches\notificationCode
public function getTokenService() {
return $this->tokenService ?: \Drupal::service('token');
}