You are here

public function ExportForm::__construct in Default Content Deploy 8

ExportForm constructor.

Parameters

\Drupal\Core\Messenger\Messenger $messenger:

\Drupal\default_content_deploy\DeployManager $deploy_manager:

\Drupal\default_content_deploy\Exporter $exporter:

\Drupal\Core\Entity\EntityTypeBundleInfoInterface $bundle_info:

\Drupal\Core\File\FileSystemInterface $file_system:

File

src/Form/ExportForm.php, line 56

Class

ExportForm
Config Form for run DCD deploy in Admin UI.

Namespace

Drupal\default_content_deploy\Form

Code

public function __construct(Messenger $messenger, DeployManager $deploy_manager, Exporter $exporter, EntityTypeBundleInfoInterface $bundle_info, FileSystemInterface $file_system) {
  $this->exporter = $exporter;
  $this->messenger = $messenger;
  $this->deployManager = $deploy_manager;
  $this->bundleInfo = $bundle_info;
  $this->fileSystem = $file_system;
}