You are here

public function TokenReplacer::__construct in Menu Token 8

Same name and namespace in other branches
  1. 9.1.x src/Service/TokenReplacer.php \Drupal\menu_token\Service\TokenReplacer::__construct()

File

src/Service/TokenReplacer.php, line 27

Class

TokenReplacer
TokenReplacer class.

Namespace

Drupal\menu_token\Service

Code

public function __construct(TokenInterface $tokenService, ContextRepositoryInterface $c, TokenEntityMapperInterface $tem, EntityTypeManagerInterface $en) {
  $this->tokenService = $tokenService;
  $this->contextRepository = $c;
  $this->tokenEntityMapper = $tem;
  $this->entityTypeManager = $en;
}