Fluid icon indicating copy to clipboard operation
Fluid copied to clipboard

[TASK] Establish proper API to set template layout

Open s2b opened this issue 7 months ago • 1 comments

The ParsingState now provides a proper method to set the layout of a template during parsing/compilation. Previously, the magic variable name layoutName has been used for that purpose, but with the new nodeInitializedEvent we can now access the ParsingState object directly.

The usage of the old variable name has been deprecated and will no longer be evaluated with Fluid v5. Its main usage besides the <f:layout> ViewHelper (see above) has been the cache warmup command, which will receive a more straightforward implementation with Fluid v5.

s2b avatar May 23 '25 15:05 s2b

TYPO3 Core CI is green (apart from composer integrity): https://review.typo3.org/c/Packages/TYPO3.CMS/+/89518

s2b avatar May 23 '25 16:05 s2b