public function WebformHandlerBase::preDelete in Webform 6.x
Same name and namespace in other branches
- 8.5 src/Plugin/WebformHandlerBase.php \Drupal\webform\Plugin\WebformHandlerBase::preDelete()
Acts on a webform submission before they are deleted and before hooks are invoked.
Used before the entities are deleted and before invoking the delete hook.
Parameters
\Drupal\webform\WebformSubmissionInterface $webform_submission: A webform submission.
Overrides WebformHandlerInterface::preDelete
2 methods override WebformHandlerBase::preDelete()
- ExampleWebformHandler::preDelete in modules/
webform_example_handler/ src/ Plugin/ WebformHandler/ ExampleWebformHandler.php - Acts on a webform submission before they are deleted and before hooks are invoked.
- TestWebformHandler::preDelete in tests/
modules/ webform_test_handler/ src/ Plugin/ WebformHandler/ TestWebformHandler.php - Acts on a webform submission before they are deleted and before hooks are invoked.
File
- src/
Plugin/ WebformHandlerBase.php, line 577
Class
- WebformHandlerBase
- Provides a base class for a webform handler.
Namespace
Drupal\webform\PluginCode
public function preDelete(WebformSubmissionInterface $webform_submission) {
}