public function WebformSubmissionExporter::setWebform in Webform 8.5
Same name and namespace in other branches
- 6.x src/WebformSubmissionExporter.php \Drupal\webform\WebformSubmissionExporter::setWebform()
Set the webform whose submissions are being exported.
Parameters
\Drupal\webform\WebformInterface $webform: A webform.
Overrides WebformSubmissionExporterInterface::setWebform
File
- src/
WebformSubmissionExporter.php, line 144
Class
- WebformSubmissionExporter
- Webform submission exporter.
Namespace
Drupal\webformCode
public function setWebform(WebformInterface $webform = NULL) {
$this->webform = $webform;
$this->defaultOptions = NULL;
$this->elementTypes = NULL;
}