You are here

public function ContentImporter::__construct in Content Synchronization 3.0.x

Same name and namespace in other branches
  1. 8.2 src/Importer/ContentImporter.php \Drupal\content_sync\Importer\ContentImporter::__construct()

ContentImporter constructor.

File

src/Importer/ContentImporter.php, line 33

Class

ContentImporter

Namespace

Drupal\content_sync\Importer

Code

public function __construct(Serializer $serializer, EntityTypeManagerInterface $entity_type_manager) {
  $this->serializer = $serializer;
  $this->entityTypeManager = $entity_type_manager;
}