You are here

public function UriNormalizer::__construct in Tome 8

Constructs a UriNormalizer object.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.

\Drupal\Core\Entity\EntityRepositoryInterface $entity_repository: The entity field manager.

File

modules/tome_sync/src/Normalizer/UriNormalizer.php, line 45

Class

UriNormalizer
Normalizer for Uri data.

Namespace

Drupal\tome_sync\Normalizer

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager, EntityRepositoryInterface $entity_repository) {
  $this->entityTypeManager = $entity_type_manager;
  $this->entityRepository = $entity_repository;
}