public function TokenResolver::__construct in FillPDF 5.0.x
Same name and namespace in other branches
- 8.4 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\fillpdfCode
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;
}