You are here

components-twig-extension-test-add-filter-deprecated-named-arguments.html.twig in Components! 8.2

{{ element|add( path='list.#items.0.#attributes.class', value='new-class' ) }}

File

tests/modules/components_twig_extension_test/templates/components-twig-extension-test-add-filter-deprecated-named-arguments.html.twig
View source
  1. {{ element|add( path='list.#items.0.#attributes.class', value='new-class' ) }}