You are here

components-twig-extension-test-set-filter-named-arguments.html.twig in Components! 3.x

{{ 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.twig
View source
  1. {{ element|set( at='list.#items.0.#attributes', value={ 'class': 'new-class' } ) }}