You are here

public function WebformSubmissionExporter::setWebformOptions in Webform 6.x

Same name and namespace in other branches
  1. 8.5 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 185

Class

WebformSubmissionExporter
Webform submission exporter.

Namespace

Drupal\webform

Code

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