You are here

protected function YamlFormExporterBase::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.

1 call to YamlFormExporterBase::getSourceEntity()
YamlFormExporterBase::getBaseFileName in src/YamlFormExporterBase.php
Get export base file name without an extension.

File

src/YamlFormExporterBase.php, line 172

Class

YamlFormExporterBase
Provides a base class for a results exporter.

Namespace

Drupal\yamlform

Code

protected function getSourceEntity() {
  return $this->configuration['source_entity'];
}