You are here

protected function WebformExporterBase::getSourceEntity in Webform 6.x

Same name and namespace in other branches
  1. 8.5 src/Plugin/WebformExporterBase.php \Drupal\webform\Plugin\WebformExporterBase::getSourceEntity()

Get the webform source entity whose submissions are being exported.

Return value

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

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

File

src/Plugin/WebformExporterBase.php, line 165

Class

WebformExporterBase
Provides a base class for a results exporter.

Namespace

Drupal\webform\Plugin

Code

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