Duh. I should have put this on Drupal Answers. My bad. Anyway, two answers over there:
Is it possible to make nodes out of webform submissions?
-
28-06-2022 - |
Question
Essentially, I'd like to have a webform submission automatically create a node from the contents of its submission (Drupal 7). Is this possible?
La solution 2
Autres conseils
Well there is this hook: hook_webform_submission_insert
Inside that hook you can create a new node using the $submission
parameter that contains the submission just saved in the database.
To create a new node you can use node_save api
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow