public function RemotePostWebformHandler::postDelete in Webform 8.5
Same name and namespace in other branches
- 6.x src/Plugin/WebformHandler/RemotePostWebformHandler.php \Drupal\webform\Plugin\WebformHandler\RemotePostWebformHandler::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
- src/
Plugin/ WebformHandler/ RemotePostWebformHandler.php, line 499
Class
- RemotePostWebformHandler
- Webform submission remote post handler.
Namespace
Drupal\webform\Plugin\WebformHandlerCode
public function postDelete(WebformSubmissionInterface $webform_submission) {
$this
->remotePost(WebformSubmissionInterface::STATE_DELETED, $webform_submission);
}