Problem/Motivation
#2976148: Layout-based entity rendering should delegate to the correct section storage instead of hardcoding to either defaults or overrides changed how Layout Builder prevents infinite recursion when rendering FieldBlocks.
Before, it prevented any of the LB rendering code from running.
Now it only prevents any infinite recursion from occurring.
However, this means that all of the LB rendering code is running for each FieldBlock, even though it will never result in any real changes to the output.
Proposed resolution
Move the code from isLayoutBuilderEnabled()
to buildMultiple()
Remaining tasks
N/A
User interface changes
N/A
API changes
N/A
Data model changes
N/A
Release notes snippet
N/A