You are here

public function WebformHandlerBase::prePurge in Webform 6.x

Same name and namespace in other branches
  1. 8.5 src/Plugin/WebformHandlerBase.php \Drupal\webform\Plugin\WebformHandlerBase::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.

Overrides WebformHandlerInterface::prePurge

1 call to WebformHandlerBase::prePurge()
TestPurgeHandler::prePurge in tests/modules/webform_test_handler/src/Plugin/WebformHandler/TestPurgeHandler.php
Acts on webform submissions before they are purged.
1 method overrides WebformHandlerBase::prePurge()
TestPurgeHandler::prePurge in tests/modules/webform_test_handler/src/Plugin/WebformHandler/TestPurgeHandler.php
Acts on webform submissions before they are purged.

File

src/Plugin/WebformHandlerBase.php, line 567

Class

WebformHandlerBase
Provides a base class for a webform handler.

Namespace

Drupal\webform\Plugin

Code

public function prePurge(array $webform_submissions) {
}