0

Im looking for a way to set the source entity type and id to a webform that is inside a webform content type (webform_node)

I followed the modal convention: the address of the webform is /webform/14?source_entity_type=node&source_entity_id=15 Now i would like this to work.

in QueryStringWebformSourceEntity class i see the notice

 // Note: We deliberately discard $ignored_types because through query string
 // any arbitrary entity can be injected as a source.

which makes sense. what are my options then to add my source identity to the webform submission?

thank you!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.