You are here

public function WebformAdminConfigExportersForm::__construct in Webform 8.5

Constructs a WebformAdminConfigExportersForm object.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.

\Drupal\Core\File\FileSystemInterface $file_system: The file system service.

\Drupal\webform\Plugin\WebformExporterManagerInterface $exporter_manager: The webform exporter manager.

\Drupal\webform\WebformSubmissionExporterInterface $submission_exporter: The webform submission exporter.

Overrides ConfigFormBase::__construct

File

src/Form/AdminConfig/WebformAdminConfigExportersForm.php, line 58

Class

WebformAdminConfigExportersForm
Configure webform admin settings for exporters.

Namespace

Drupal\webform\Form\AdminConfig

Code

public function __construct(ConfigFactoryInterface $config_factory, FileSystemInterface $file_system, WebformExporterManagerInterface $exporter_manager, WebformSubmissionExporterInterface $submission_exporter) {
  parent::__construct($config_factory);
  $this->fileSystem = $file_system;
  $this->exporterManager = $exporter_manager;
  $this->submissionExporter = $submission_exporter;
}