- Issue created by @sdsc
- 🇩🇪Germany jurgenhaas Gottmadingen
Is it possible to make it like function, we just pass alone variables (value) rather than token name?
I've though about that in the past as well, and we should consider adding such a feature in the future. We could optionally allow the usage of Yaml as we already do in other areas, so that the action could define an array of tokens like e.g. this:
node: "[entity]" myvar1: 5 myvar2: "some fixed string"
With that, the receiving event would then know the tokens
node
,myvar1
andmyvar2
.There are two type of events, one with entity awareness and on without. What are differences?
The entity aware custom event also receives the content entity from the dispatching context. Other than that, they are the same.
Thank you for considering that! Looking forward to this feature being available.