Skip to content
Snippets Groups Projects
Commit efa8c85d authored by Christian Kuhn's avatar Christian Kuhn Committed by Benni Mack
Browse files

[TASK] FormEngine inline refactoring

FormEngine splits in two parts: Data compilation and preparation
and rendering.

The patch separates the inline related data preparation out
of the render containers and moves it into the data provider.
TcaInline provider now resolves and compiles children and adds them
to processedTca[columns][$field][children], so InlineControlContainer
can just loop over them to render children.

InlineRecordContainer, the second inline container that takes
care of rendering single children records now no longer receives
the full parent data, but only the specific child data array it should
render. This leads to better encapsulation and allows some future
performance improvements.

While the inline stuff is still a very complex thing, this last
main structural FormEngine change takes the opportunity to comment
further details and dependencies and it simplifies the structures
by better separation of concerns.

Change-Id: Ia0ed276d7fc6f541f8ae27eaac3e17e3b8714ddf
Resolves: #70490
Releases: master
Reviewed-on: http://review.typo3.org/43755


Reviewed-by: default avatarMorton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: default avatarMorton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarBenni Mack <benni@typo3.org>
parent 9b52da33
No related merge requests found
Showing
with 1772 additions and 1074 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment