How to retrieve the ID of an entity created by a previous webform entity handler?

Created on 19 September 2023, 9 months ago

Hello,

Problem/Motivation

I have the same need as "chertzog".
=> I have a webform that creates multiple entities that need to reference each other.

Your clarification on the issue https://www.drupal.org/project/webform_entity_handler/issues/3189200#com... β†’
"This value [the new entity created] is stored in the operation field." don't explain to me how to use the new entity created in a following webform_entity_handler.

Proposed resolution

The solution proposed by "chertzog" via the attached patch, and improved by "Duvan.Slabbert", works very well and is simple and common sense to use.

✨ Feature request
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡«πŸ‡·France marco5775

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024