public function EmailTokenEvaluator::__construct in Easy Email 8
Same name and namespace in other branches
- 2.0.x src/Service/EmailTokenEvaluator.php \Drupal\easy_email\Service\EmailTokenEvaluator::__construct()
Constructs the EmailTokenEvaluator
Parameters
\Symfony\Component\EventDispatcher\EventDispatcherInterface $eventDispatcher:
\Drupal\Core\Utility\Token $token:
File
- src/
Service/ EmailTokenEvaluator.php, line 32
Class
Namespace
Drupal\easy_email\ServiceCode
public function __construct(EventDispatcherInterface $eventDispatcher, Token $token) {
$this->token = $token;
$this->eventDispatcher = $eventDispatcher;
}