You are here

public function WebformHandlerInterface::prePurge in Webform 6.x

Same name and namespace in other branches
  1. 8.5 src/Plugin/WebformHandlerInterface.php \Drupal\webform\Plugin\WebformHandlerInterface::prePurge()

Acts on webform submissions before they are purged.

Used before the entities are purged and before they are deleted.

Parameters

\Drupal\webform\WebformSubmissionInterface[] $webform_submissions: The webform submissions to be purged.

1 method overrides WebformHandlerInterface::prePurge()
WebformHandlerBase::prePurge in src/Plugin/WebformHandlerBase.php
Acts on webform submissions before they are purged.

File

src/Plugin/WebformHandlerInterface.php, line 489

Class

WebformHandlerInterface
Defines the interface for webform handlers.

Namespace

Drupal\webform\Plugin

Code

public function prePurge(array $webform_submissions);