You are here

protected function WebformExporterBase::getWebform in Webform 6.x

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

Get the webform whose submissions are being exported.

Return value

\Drupal\webform\WebformInterface A webform.

4 calls to WebformExporterBase::getWebform()
TabularBaseWebformExporter::getElements in src/Plugin/WebformExporter/TabularBaseWebformExporter.php
Get webform elements.
TabularBaseWebformExporter::getFieldDefinitions in src/Plugin/WebformExporter/TabularBaseWebformExporter.php
Get a webform's field definitions.
WebformExporterBase::getBaseFileName in src/Plugin/WebformExporterBase.php
Get export base file name without an extension.
WebformSubmissionExportImportWebformExporter::getImporter in modules/webform_submission_export_import/src/Plugin/WebformExporter/WebformSubmissionExportImportWebformExporter.php
Get the submission importer.

File

src/Plugin/WebformExporterBase.php, line 155

Class

WebformExporterBase
Provides a base class for a results exporter.

Namespace

Drupal\webform\Plugin

Code

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