public function YamlFormSubmissionExporter::isArchive in YAML Form 8
Determine if an archive is being generated.
Return value
bool TRUE if an archive is being generated.
Overrides YamlFormSubmissionExporterInterface::isArchive
3 calls to YamlFormSubmissionExporter::isArchive()
- YamlFormSubmissionExporter::isBatch in src/
YamlFormSubmissionExporter.php - Determine if export needs to use batch processing.
- YamlFormSubmissionExporter::writeHeader in src/
YamlFormSubmissionExporter.php - Write form results header to export file.
- YamlFormSubmissionExporter::writeRecords in src/
YamlFormSubmissionExporter.php - Write form results header to export file.
File
- src/
YamlFormSubmissionExporter.php, line 889
Class
- YamlFormSubmissionExporter
- Form submission exporter.
Namespace
Drupal\yamlformCode
public function isArchive() {
if ($this
->getExporter()
->isArchive()) {
return TRUE;
}
else {
$export_options = $this
->getExportOptions();
return $export_options['download'] && $export_options['files'];
}
}