You are here

public function TokenReplacer::__construct in Menu Token 9.1.x

Same name and namespace in other branches
  1. 8 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;
}