You are here

public function YamlFormSubmissionExporter::getSourceEntity in YAML Form 8

Get the form source entity whose submissions are being exported.

Return value

\Drupal\Core\Entity\EntityInterface A form's source entity.

Overrides YamlFormSubmissionExporterInterface::getSourceEntity

4 calls to YamlFormSubmissionExporter::getSourceEntity()
YamlFormSubmissionExporter::buildExportOptionsForm in src/YamlFormSubmissionExporter.php
Build export options form.
YamlFormSubmissionExporter::getQuery in src/YamlFormSubmissionExporter.php
Get form submission query for specified YAMl form and export options.
YamlFormSubmissionExporter::getYamlFormOptionsName in src/YamlFormSubmissionExporter.php
Get options name for current form and source entity.
YamlFormSubmissionExporter::setExporter in src/YamlFormSubmissionExporter.php
Set results exporter.

File

src/YamlFormSubmissionExporter.php, line 152

Class

YamlFormSubmissionExporter
Form submission exporter.

Namespace

Drupal\yamlform

Code

public function getSourceEntity() {
  return $this->sourceEntity;
}