components-twig-extension-test-set-filter-named-arguments.html.twig in Components! 3.x
Same filename and directory in other branches
{{ element|set( at='list.#items.0.#attributes', value={ 'class': 'new-class' } ) }}
File
tests/modules/components_twig_extension_test/templates/components-twig-extension-test-set-filter-named-arguments.html.twigView source
- {{ element|set( at='list.#items.0.#attributes', value={ 'class': 'new-class' } ) }}