#105302Allow the referencing (=<) operator everywhere
Description
I would like to do something like this (random examples):
lib.foo = PAGE
lib.foo {
typeNum = 1234567
config {
disableAllHeaderCode = 1
disablePrefixComment = 1
additionalHeaders {
10 {
header = X-Robots-Tag: noindex
}
}
}
}
lib.bar =< lib.foo
lib.bar.typeNum = 7654321
lib.commonPart = Some\Vendor\DataProcessing\SomeProcessor
lib.commonPart {
// (very) complex configuration
}
tt_content.SOME_TYPE.dataProcessing.200 =< lib.commonPart
tt_content.SOME_TYPE2.dataProcessing.200 =< lib.commonPart
tt_content.SOME_TYPE3.dataProcessing.200 =< lib.commonPart
Just using the copy operator works but i need to do many things over and over again. Imagine having a theme extension, that you use in multiple installations. You want to provide easy-to-adopt defaults…
Now – where the typoscript parser has been re-implemented – can the option to allow the referencing operator “everywhere” be re-evaluated?
It would help me hugely prevent repetitive code/configuration segments.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.