You are here

public function WebformHandlerBase::preSave in Webform 6.x

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

Acts on a webform submission before the presave hook is invoked.

Parameters

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

Overrides WebformHandlerInterface::preSave

2 methods override WebformHandlerBase::preSave()
ExampleWebformHandler::preSave in modules/webform_example_handler/src/Plugin/WebformHandler/ExampleWebformHandler.php
Acts on a webform submission before the presave hook is invoked.
TestWebformHandler::preSave in tests/modules/webform_test_handler/src/Plugin/WebformHandler/TestWebformHandler.php
Acts on a webform submission before the presave hook is invoked.

File

src/Plugin/WebformHandlerBase.php, line 587

Class

WebformHandlerBase
Provides a base class for a webform handler.

Namespace

Drupal\webform\Plugin

Code

public function preSave(WebformSubmissionInterface $webform_submission) {
}