ECA Field WidgetΒΆ
Available since: 2.1.11
Provided tokens
Token | Description |
---|---|
[event] |
The event. |
[event:machine_name] |
The machine name of the ECA event. |
[session_user] |
The user account that dispatched the event, regardless if ECA is processing models under a different account. This is only available if ECA is configured to always run under a specific account. |
[entity] |
The entity being edited. |
[field_name] |
The name of the entity field for which the field widget is used. |
[field_key] |
The index of the field starting with zero and going up if it's a multi-value field. |
This event has currently no configuration options. However, you may want to at least give it a label because that's how it will be displayed in the form display configuration.
To get a field widget action from ECA work with form fields, you start with this event and the subsequent actions and conditions receive the above tokens with which you can build your process.
To return a value back to the field widget action, which will put that into the related form field, you can either change the value in the provided entity or you can use the Set field widget value action to set that value.