You are here

public function ContentExporter::__construct in Content Synchronization 8.2

Same name and namespace in other branches
  1. 3.0.x src/Exporter/ContentExporter.php \Drupal\content_sync\Exporter\ContentExporter::__construct()

ContentExporter constructor.

File

src/Exporter/ContentExporter.php, line 20

Class

ContentExporter

Namespace

Drupal\content_sync\Exporter

Code

public function __construct(Serializer $serializer) {
  $this->serializer = $serializer;
}