public function LinkItemNormalizer::__construct in Replication 8.2
Same name and namespace in other branches
- 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
Namespace
Drupal\replication\NormalizerCode
public function __construct(EntityTypeManagerInterface $entity_type_manager, SelectionPluginManagerInterface $selection_manager = NULL) {
$this->entityTypeManager = $entity_type_manager;
$this->selectionManager = $selection_manager;
}