You are here

public function ExampleWebformHandler::postDelete in Webform 8.5

Same name and namespace in other branches
  1. 6.x modules/webform_example_handler/src/Plugin/WebformHandler/ExampleWebformHandler.php \Drupal\webform_example_handler\Plugin\WebformHandler\ExampleWebformHandler::postDelete()

Acts on deleted a webform submission before the delete hook is invoked.

Used after the entities are deleted but before invoking the delete hook.

Parameters

\Drupal\webform\WebformSubmissionInterface $webform_submission: A webform submission.

Overrides WebformHandlerBase::postDelete

File

modules/webform_example_handler/src/Plugin/WebformHandler/ExampleWebformHandler.php, line 194

Class

ExampleWebformHandler
Webform example handler.

Namespace

Drupal\webform_example_handler\Plugin\WebformHandler

Code

public function postDelete(WebformSubmissionInterface $webform_submission) {
  $this
    ->debug(__FUNCTION__);
}