public function WebformHandlerInterface::preDelete in Webform 8.5
Same name and namespace in other branches
- 6.x src/Plugin/WebformHandlerInterface.php \Drupal\webform\Plugin\WebformHandlerInterface::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.
1 method overrides WebformHandlerInterface::preDelete()
- WebformHandlerBase::preDelete in src/
Plugin/ WebformHandlerBase.php - Acts on a webform submission before they are deleted and before hooks are invoked.
File
- src/
Plugin/ WebformHandlerInterface.php, line 555
Class
- WebformHandlerInterface
- Defines the interface for webform handlers.
Namespace
Drupal\webform\PluginCode
public function preDelete(WebformSubmissionInterface $webform_submission);