Task #86196
Updated by Susanne Moog about 6 years ago
Currently Symfony ExpressionLanguage is used in two contexts:
- the form framework
- typoscript condition matching
registration and providing context is done in two different ways and is extensible in two different ways. Before the LTS release these should be unified and documented.
Tasks:
- Add Configuration/ExpressionLanguage.php and corresponding loader with caching
<pre><code class="php">
return [
'context-default' => [
'variable-providers' => [classNames],
'function-providers' => [classNames]
],
'context-typoscript-conditions' => [
'variable-providers' => [classNames],
'function-providers' => [classNames]
],
'context-form' => [...]
]
</code></pre>
- Load expressionLanguage via loader with context argument in form and conditionMatcher
- Remove ? or overload with yaml config in form context [Decide this]