You are here

public function WebformSubmissionExporter::deleteWebformOptions in Webform 8.5

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

Delete export options for the current webform and entity.

Overrides WebformSubmissionExporterInterface::deleteWebformOptions

File

src/WebformSubmissionExporter.php, line 190

Class

WebformSubmissionExporter
Webform submission exporter.

Namespace

Drupal\webform

Code

public function deleteWebformOptions() {
  $name = $this
    ->getWebformOptionsName();
  $this
    ->getWebform()
    ->deleteState($name);
}