contao / docs

Contao Documentation
https://docs.contao.org
Other
31 stars 141 forks source link

Use `attrs().mergeWith()` in Twig code examples #1361

Open m-vo opened 4 months ago

m-vo commented 4 months ago

We need to adjust the Twig code examples regarding the set and merge pattern to reflect the changes made in https://github.com/contao/contao/pull/6956#event-12012400559.

Basically attrs(foo).<operations>attrs().<operations>.mergeWith(foo) .