- Issue created by @alanstanley
These issues can cause white screens when rendering the menu in Twig, especially if the menu includes children.
Create a twig template to style a view using TB Megamenu. The menu being styled should have children, You'll see a whitescreen referencing the twig template which is styling the output.
Replace usage of attributes with #attributes wherever they are intended for render arrays.
Replace usage of new Attribute() with plain arrays, or consistently use Attribute::addClass() etc. without treating the object like an array.
Active
3.0
Code