You are here

public function TableYamlFormExporter::writeFooter in YAML Form 8

Write footer to export.

Overrides YamlFormExporterBase::writeFooter

File

src/Plugin/YamlFormExporter/TableYamlFormExporter.php, line 111

Class

TableYamlFormExporter
Defines a HTML table exporter.

Namespace

Drupal\yamlform\Plugin\YamlFormExporter

Code

public function writeFooter() {
  $file_handle = $this->fileHandle;
  fwrite($file_handle, '</tbody>');
  fwrite($file_handle, '</table>');
  fwrite($file_handle, '</body>');
  fwrite($file_handle, '</html>');
}