You are here

public function WebformSubmissionExporter::getWebformOptions in Webform 8.5

Same name and namespace in other branches
  1. 6.x 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 174

Class

WebformSubmissionExporter
Webform submission exporter.

Namespace

Drupal\webform

Code

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