You are here

public function LinkItemNormalizer::__construct in Replication 8

Same name and namespace in other branches
  1. 8.2 src/Normalizer/LinkItemNormalizer.php \Drupal\replication\Normalizer\LinkItemNormalizer::__construct()

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager:

\Drupal\Core\Path\AliasManagerInterface $alias_manager:

\Drupal\Core\Entity\EntityReferenceSelection\SelectionPluginManagerInterface|null $selection_manager:

File

src/Normalizer/LinkItemNormalizer.php, line 44

Class

LinkItemNormalizer

Namespace

Drupal\replication\Normalizer

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager, AliasManagerInterface $alias_manager, SelectionPluginManagerInterface $selection_manager = NULL) {
  $this->entityTypeManager = $entity_type_manager;
  $this->selectionManager = $selection_manager;
  $this->aliasManager = $alias_manager;
}