You are here

public function WebformSubmissionExporter::writeFooter in Webform 8.5

Same name and namespace in other branches
  1. 6.x src/WebformSubmissionExporter.php \Drupal\webform\WebformSubmissionExporter::writeFooter()

Write webform results footer to export file.

Overrides WebformSubmissionExporterInterface::writeFooter

1 call to WebformSubmissionExporter::writeFooter()
WebformSubmissionExporter::generate in src/WebformSubmissionExporter.php
Execute results exporter and write export to a temp file.

File

src/WebformSubmissionExporter.php, line 834

Class

WebformSubmissionExporter
Webform submission exporter.

Namespace

Drupal\webform

Code

public function writeFooter() {
  $this
    ->getExporter()
    ->openExport();
  $this
    ->getExporter()
    ->writeFooter();
  $this
    ->getExporter()
    ->closeExport();
}