You are here

public function TokenEntityMapper::__construct in Token 8

File

src/TokenEntityMapper.php, line 32

Class

TokenEntityMapper
Service to provide mappings between entity and token types.

Namespace

Drupal\token

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager, ModuleHandlerInterface $module_handler) {
  $this->entityTypeManager = $entity_type_manager;
  $this->moduleHandler = $module_handler;
}