You are here

public function WebformSubmissionExporter::getWebformOptions in Webform 6.x

Same name and namespace in other branches
  1. 8.5 src/WebformSubmissionExporter.php \Drupal\webform\WebformSubmissionExporter::getWebformOptions()

Get export options for the current webform and entity.

Return value

array Export options.

Overrides WebformSubmissionExporterInterface::getWebformOptions

File

src/WebformSubmissionExporter.php, line 177

Class

WebformSubmissionExporter
Webform submission exporter.

Namespace

Drupal\webform

Code

public function getWebformOptions() {
  $name = $this
    ->getWebformOptionsName();
  return $this
    ->getWebform()
    ->getState($name, []);
}