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 - |
Pregunta
Essentially, I'd like to have a webform submission automatically create a node from the contents of its submission (Drupal 7). Is this possible?
Solución 2
Otros consejos
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
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow