Task #86196
closedCentralize ExpressionLanguage Registration via API
Added by Susanne Moog about 6 years ago. Updated about 6 years ago.
100%
Description
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
// Config
<?php
return [
'conditions' => [
\TYPO3\CMS\Core\ExpressionLanguage\Typo3ConditionProvider
],
'ext-form' => [
\TYPO3\CMS\Core\ExpressionLanguage\Typo3ConditionProvider,
\TYPO3\CMS\Form\Domain\Condition\ConditionProvider
]
];
// Usage:
$expressionLanguage = new \TYPO3\CMS\Core\ExpressionLanguage\Resolver('ext-form');
- Load expressionLanguage via loader with context argument in form and conditionMatcher
- Remove yaml config in form
Updated by Benni Mack about 6 years ago
just don't call it `ext-form` please. either "form" or form-framework. I'm for "form".
Also "typoscript-conditions"?
Because we're going to have "typoscript-if" and "tca-display-conditions" and maybe "routing"
Updated by Susanne Moog about 6 years ago
- Status changed from New to In Progress
- Assignee set to Susanne Moog
Updated by Susanne Moog about 6 years ago
@Benni Mack while building I noticed we don't have that many contexts. We should not distinguish TypoScript conditions and other scopes at all. In fact conditions are conditions. The TypoScript conditions basically provide TYPO3 conditions that should be usable in any context (extensions PHP code, typoscript, with an expression language viewhelper even in fluid) as the methods and vars provided there aren't specific to TypoScript.
We can talk about that again, I'll push the WIP now.
Updated by Gerrit Code Review about 6 years ago
- Status changed from In Progress to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58232
Updated by Gerrit Code Review about 6 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58232
Updated by Susanne Moog about 6 years ago
- Related to Feature #84133: Variants - Frontend implementation added
Updated by Gerrit Code Review about 6 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58232
Updated by Gerrit Code Review about 6 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58232
Updated by Gerrit Code Review about 6 years ago
Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58232
Updated by Gerrit Code Review about 6 years ago
Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58232
Updated by Gerrit Code Review about 6 years ago
Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58232
Updated by Gerrit Code Review about 6 years ago
Patch set 8 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58232
Updated by Gerrit Code Review about 6 years ago
Patch set 9 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58232
Updated by Gerrit Code Review about 6 years ago
Patch set 10 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58232
Updated by Gerrit Code Review about 6 years ago
Patch set 11 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58232
Updated by Gerrit Code Review about 6 years ago
Patch set 12 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58232
Updated by Gerrit Code Review about 6 years ago
Patch set 13 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58232
Updated by Gerrit Code Review about 6 years ago
Patch set 14 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58232
Updated by Gerrit Code Review about 6 years ago
Patch set 15 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58232
Updated by Gerrit Code Review about 6 years ago
Patch set 16 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58232
Updated by Gerrit Code Review about 6 years ago
Patch set 17 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58232
Updated by Gerrit Code Review about 6 years ago
Patch set 18 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58232
Updated by Gerrit Code Review about 6 years ago
Patch set 19 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58232
Updated by Gerrit Code Review about 6 years ago
Patch set 20 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58232
Updated by Gerrit Code Review about 6 years ago
Patch set 21 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58232
Updated by Gerrit Code Review about 6 years ago
Patch set 22 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58232
Updated by Gerrit Code Review about 6 years ago
Patch set 23 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58232
Updated by Gerrit Code Review about 6 years ago
Patch set 24 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58232
Updated by Gerrit Code Review about 6 years ago
Patch set 25 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58232
Updated by Gerrit Code Review about 6 years ago
Patch set 26 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58232
Updated by Gerrit Code Review about 6 years ago
Patch set 27 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58232
Updated by Gerrit Code Review about 6 years ago
Patch set 28 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58232
Updated by Gerrit Code Review about 6 years ago
Patch set 29 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58232
Updated by Gerrit Code Review about 6 years ago
Patch set 30 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58232
Updated by Gerrit Code Review about 6 years ago
Patch set 31 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58232
Updated by Gerrit Code Review about 6 years ago
Patch set 32 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58232
Updated by Susanne Moog about 6 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 0ef9df9091cd16928c55eb8b83ca2d47c146a89e.
Updated by Christian Kuhn over 3 years ago
- Related to Bug #92471: condition contentObject["pid"] not working in variant added
Updated by Elias Häußler over 2 years ago
- Related to Bug #97023: EXT:form - Outdated documentation of expression language added