You are here

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

{{ element|add( at='list.#items.0.#attributes.class', values=['new-class-1', 'new-class-2'] ) }}

File

tests/modules/components_twig_extension_test/templates/components-twig-extension-test-add-filter-plural-named-arguments.html.twig
View source
  1. {{ element|add( at='list.#items.0.#attributes.class', values=['new-class-1', 'new-class-2'] ) }}