Skip to content
Snippets Groups Projects
Commit 49eacf68 authored by renatog's avatar renatog Committed by Jacob Rockowitz
Browse files

Issue #3344266: Webform handler postSave() method is triggered before...

Issue #3344266: Webform handler postSave() method is triggered before completing the database transaction
parent 91bc36b1
No related branches found
Tags 1.0.0-rc1
2 merge requests!311Issue #3344266: Webform handler postSave() method is triggered before completing the database transaction,!138Issue #3257570: Ensure that submission are deleted when a webform is deleted
Pipeline #139575 passed with warnings
......@@ -471,6 +471,9 @@ interface WebformHandlerInterface extends PluginInspectionInterface, Configurabl
/**
* Acts on a saved webform submission before the insert or update hook is invoked.
*
* Implementing a postSave at your side be careful because if your code breaks
* the PHP execution it may prevent the sql transaction from committing.
*
* @param \Drupal\webform\WebformSubmissionInterface $webform_submission
* A webform submission.
* @param bool $update
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment