You are here

public function ImportForm::__construct in Default Content Deploy 8

ImportForm constructor.

Parameters

\Drupal\default_content_deploy\Importer $importer:

\Drupal\Core\Messenger\Messenger $messenger:

\Drupal\default_content_deploy\DeployManager $deploy_manager:

\Drupal\Core\File\FileSystemInterface $file_system:

File

src/Form/ImportForm.php, line 47

Class

ImportForm
Config Form for run DCD deploy in Admin UI.

Namespace

Drupal\default_content_deploy\Form

Code

public function __construct(Importer $importer, Messenger $messenger, DeployManager $deploy_manager, FileSystemInterface $file_system) {
  $this->importer = $importer;
  $this->messenger = $messenger;
  $this->deployManager = $deploy_manager;
  $this->fileSystem = $file_system;
}