Feature #39655
Implement contextOverrides for all TypoScript objects
Status: | Resolved | Start date: | 2012-08-09 | |
---|---|---|---|---|
Priority: | Must have | Due date: | ||
Assigned To: | Sebastian Kurfuerst | % Done: | 100% |
|
Category: | - | |||
Target version: | - |
Description
most TypoScript objects operate on the TypoScript context, which is multivalued by now.
Still, it would be very helpful to manipulate this context before a TypoScript object is rendered.
For this, we should add a new property "contextOverrides" in the abstract TypoScript object;
which is then applied before evaluate() is called.
Associated revisions
[FEATURE] Support @override for manipulating the TypoScript context
It is helpful to be able to manipulate the TypoScript context before a
certain TypoScript object is called. This allows for aliasing of
context variables in Eel expressions.
Now, one can specify the context overrides using the @override
meta-property which is evaluated on every TypoScript object.
Example:
foo = NameFormatter
foo.@override.fullName = ${firstName + ' ' + lastName}
Resolves: #39655
Change-Id: Ic4cb8eb1191be2644af6c4f59648fc427b1fdf63
History
#1 Updated by Gerrit Code Review almost 3 years ago
Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/13841
#2 Updated by Sebastian Kurfuerst almost 3 years ago
- Status changed from Accepted to Under Review
#3 Updated by Gerrit Code Review almost 3 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/13841
#4 Updated by Gerrit Code Review almost 3 years ago
Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/13841
#5 Updated by Gerrit Code Review almost 3 years ago
Patch set 4 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/13841
#6 Updated by Sebastian Kurfuerst almost 3 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 2044896910275331a1051acb4cdefe1d63faa1ea.