- Issue created by @kristiaanvandeneynde
Spin-off from 🐛 Lazy builder broken (#type defaults not loaded) Needs work .
For lazy_builder callbacks it made absolute sense to want to load defaults if the builder returned a render array with a #type key at the top level, because anything specifying a lazy_builder may not specify a type.
However, for pre_render callbacks, it's different. They may be called on something that already has a type and I'm not sure we should support type switching after another type's defaults have already been loaded. The only case where we might want to load the defaults is if a type wasn't set before.
N/A
Discuss how we want to fix this: Only support elements that had no type before? Throw a warning when changing types? ...
N/A
N/A
N/A
N/A
N/A
Active
11.0 🔥
render system