Timeline for How to delete a webform submission in a custom module?
Current License: CC BY-SA 3.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 1, 2021 at 15:36 | comment | added | Matoeil | the links are outdated | |
Dec 1, 2021 at 14:18 | comment | added | Matoeil | What about in D9? | |
Dec 19, 2018 at 22:51 | comment | added | mbomb007 | This answer is not correct. Both parameters must be objects, as BWagner said in his answer. | |
Mar 20, 2012 at 5:06 | comment | added | amateur barista | Nice! Good to know that you were able to solve your issue fast. | |
Mar 20, 2012 at 4:56 | comment | added | Brian Reeves |
Thank you! This is what I used: $submission = webform_menu_submission_load($sid, $nid); $node = node_load($nid); webform_submission_delete($node, $submission);
|
|
Mar 20, 2012 at 4:55 | vote | accept | Brian Reeves | ||
Mar 20, 2012 at 4:55 | vote | accept | Brian Reeves | ||
Mar 20, 2012 at 4:55 | |||||
Mar 20, 2012 at 4:35 | history | answered | amateur barista | CC BY-SA 3.0 |