You are here

public function ContentExportForm::__construct in Content Synchronization 8.2

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

ContentExportForm constructor.

File

src/Form/ContentExportForm.php, line 40

Class

ContentExportForm
Defines the content export form.

Namespace

Drupal\content_sync\Form

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager, ContentExporterInterface $content_exporter, ContentSyncManagerInterface $content_sync_manager, FileSystemInterface $file_system) {
  $this->entityTypeManager = $entity_type_manager;
  $this->contentExporter = $content_exporter;
  $this->contentSyncManager = $content_sync_manager;
  $this->fileSystem = $file_system;
}