Make a token available for child processes
Problem/Motivation
We are using the rendering component and different events that may get triggered by another ECA process (nested triggering, but no custom event is involved here). Example: Use event to render an ECA block, execute rendering of custom form from there. The custom form then is being built up by ECA form events. Now I need a way to get the node (or any other sort of entity) within the form building process.
This mechanic could be solved using the Context Stack module. However we decided not to involve this solution, because it would be too overkill for what we actually need. Our requirement could be solved by a much simpler solution.
Steps to reproduce
Proposed resolution
Add a new action "Token: set context" in eca_base, which makes the currently defined token data available for child processes. This may be achieved by a simple stack mechanic.
This should be fairly lightweight, but extremely helpful in such situations.