You are here

public function WebformSubmissionExporter::getSourceEntity in Webform 8.5

Same name and namespace in other branches
  1. 6.x src/WebformSubmissionExporter.php \Drupal\webform\WebformSubmissionExporter::getSourceEntity()

Get the webform source entity whose submissions are being exported.

Return value

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

Overrides WebformSubmissionExporterInterface::getSourceEntity

5 calls to WebformSubmissionExporter::getSourceEntity()
WebformSubmissionExporter::buildExportOptionsForm in src/WebformSubmissionExporter.php
Build export options webform.
WebformSubmissionExporter::getQuery in src/WebformSubmissionExporter.php
Get webform submission query for specified YAMl webform and export options.
WebformSubmissionExporter::getWebformOptionsName in src/WebformSubmissionExporter.php
Get options name for current webform and source entity.
WebformSubmissionExporter::requiresBatch in src/WebformSubmissionExporter.php
Determine if webform submissions must be exported using batch processing.
WebformSubmissionExporter::setExporter in src/WebformSubmissionExporter.php
Set results exporter.

File

src/WebformSubmissionExporter.php, line 167

Class

WebformSubmissionExporter
Webform submission exporter.

Namespace

Drupal\webform

Code

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