public function WebformHandlerBase::preSave in Webform 8.5
Same name and namespace in other branches
- 6.x 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 648
Class
- WebformHandlerBase
- Provides a base class for a webform handler.
Namespace
Drupal\webform\PluginCode
public function preSave(WebformSubmissionInterface $webform_submission) {
}