Skip to content
  • Christian Kuhn's avatar
    [TASK] FormEngine inline refactoring · efa8c85d
    Christian Kuhn authored and Benni Mack's avatar Benni Mack committed
    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>
    efa8c85d