Entity reference field selection¶
Available since: 1.0.0
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 of the event. |
[ENTITY_TYPE] |
The entity of the event under the name of its entity type. |
Reacts when entity reference field of specific content entities are selected.
Fields¶
Type (and bundle)-
This field provides a list with all created content entities and its bundles. You can also select -any-, if you want to react to all types or bundles.
Restrict by field (machine name)-
The machine name of the field to restrict the event trigger.
The machine name of the entity reference field to react to. Leave empty to react to all entity reference fields using the ECA handler.
Token name holding the selection-
The name of the token to hold the selection. Please provide the token name only, without brackets.
The token name to hold the selection results. After ECA actions run, the entities in this token become the referenceable entities.