You are here

public function TokenResolver::__construct in FillPDF 8.4

Same name and namespace in other branches
  1. 5.0.x src/TokenResolver.php \Drupal\fillpdf\TokenResolver::__construct()

Constructs a TokenResolver object.

Parameters

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

\Drupal\token\TokenEntityMapperInterface $token_entity_mapper: The token entity mapper.

\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.

File

src/TokenResolver.php, line 55

Class

TokenResolver
Class TokenResolver.

Namespace

Drupal\fillpdf

Code

public function __construct(Token $token_service, TokenEntityMapperInterface $token_entity_mapper, ModuleHandlerInterface $module_handler) {
  $this->tokenService = $token_service;
  $this->tokenEntityMapper = $token_entity_mapper;
  $this->moduleHandler = $module_handler;
}