You are here

public function WebformSubmissionExporterInterface::setSourceEntity in Webform 8.5

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

Set the webform source entity whose submissions are being exported.

Parameters

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

1 method overrides WebformSubmissionExporterInterface::setSourceEntity()
WebformSubmissionExporter::setSourceEntity in src/WebformSubmissionExporter.php
Set the webform source entity whose submissions are being exported.

File

src/WebformSubmissionExporterInterface.php, line 35

Class

WebformSubmissionExporterInterface
Defines an interface for exporting webform submission results.

Namespace

Drupal\webform

Code

public function setSourceEntity(EntityInterface $entity = NULL);