You are here

public function DelimitedYamlFormExporter::writeHeader in YAML Form 8

Write header to export.

Overrides YamlFormExporterBase::writeHeader

File

src/Plugin/YamlFormExporter/DelimitedYamlFormExporter.php, line 94

Class

DelimitedYamlFormExporter
Defines a delimited text exporter.

Namespace

Drupal\yamlform\Plugin\YamlFormExporter

Code

public function writeHeader() {
  $header = $this
    ->buildHeader();
  fputcsv($this->fileHandle, $header, $this->configuration['delimiter']);
}