You are here

public function LinkItemNormalizer::__construct in Replication 8.2

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

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager:

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

File

src/Normalizer/LinkItemNormalizer.php, line 35

Class

LinkItemNormalizer

Namespace

Drupal\replication\Normalizer

Code

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