You are here

public function EmailedExport::__construct in Webform Scheduled Tasks 8.2

TaskPluginBase constructor.

Overrides TaskPluginBase::__construct

File

src/Plugin/WebformScheduledTasks/Task/EmailedExport.php, line 82

Class

EmailedExport
A task which emails an export of a list of webforms.

Namespace

Drupal\webform_scheduled_tasks\Plugin\WebformScheduledTasks\Task

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, WebformSubmissionExporterInterface $exporter, WebformExporterManagerInterface $exporterManager, MailManagerInterface $mailManager, FileUsageInterface $fileUsage, FileSystemInterface $fileSystem) {
  $this->exporter = $exporter;
  $this->exporterManager = $exporterManager;
  $this->mailManager = $mailManager;
  $this->fileUsage = $fileUsage;
  $this->fileSystem = $fileSystem;
  parent::__construct($configuration, $plugin_id, $plugin_definition);
}