- π¦πΊAustralia larowlan π¦πΊπ.au GMT+10
An alternative approach here would just be to call this on the $new_element
if (isset($elements['#type'])) { $element += $this->elementInfo->getInfo($elements['#type']) }
- π¦πΊAustralia larowlan π¦πΊπ.au GMT+10
It's roughly 10 lines below where the renderer already calls it (off the top of my head when I hit this issue yesterday)