You are here

public function WebformSubmissionExporter::setWebformOptions in Webform 8.5

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

Set export options for the current webform and entity.

Parameters

array $options: Export options.

Overrides WebformSubmissionExporterInterface::setWebformOptions

File

src/WebformSubmissionExporter.php, line 182

Class

WebformSubmissionExporter
Webform submission exporter.

Namespace

Drupal\webform

Code

public function setWebformOptions(array $options = []) {
  $name = $this
    ->getWebformOptionsName();
  $this
    ->getWebform()
    ->setState($name, $options);
}