Adding Context Parameter to Configuration Context
It is possible to decorate the configuration context for every call of configuration load and store. By registering a new configuration context decorator, you can modify the configuration context passed to the configuration service by changing context parameters or adding new ones. You can use it for adding a general aspect to the configuration context of every widget, like the user role of the active user, the active locale or other.
Context
In this tutorial you will create a decorator that adds the currently active language as a configuration context called language.