A Rules component config entity currently only has context definitions. It should also have provided context definitions that specify what variables a component produces and are offered after it has been executed.

Comments

klausi created an issue. See original summary.

klausi’s picture

fago’s picture

Status: Active » Needs work

Ah, great to see you tackling that. Looks like support is in RulesComponent, but not in the config.
- I added a remark to the PR - we should use clear language and differentate between used and provided context - so people will hopefully understand the meaning and pick the terms up correctly.

else this looks good.

klausi’s picture

Status: Needs work » Needs review

Improved comments.

Now automatically adds provided context to the result when executed.

  • klausi committed 4ed01b8 on 8.x-3.x
    Issue #2665264 by klausi: Added provided context definitions to Rules...
klausi’s picture

Status: Needs review » Fixed

merged.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.