Olivero: use multi-class array for adding multiple classes in form--search-block-form.html.twig template
In drupal/core/themes/olivero/templates/form--search-block-form.html.twig file, We are adding multiple classes by single array.
<form{{ attributes.addClass('search-form', 'search-block-form') }}>. We should add multiple classes by multi-class array.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | image (5).png | 20.08 KB | libbna |
| #5 | image (4).png | 30.68 KB | libbna |
| #2 | 3226016-2.patch | 601 bytes | gauravvvv |
Comments
Comment #2
gauravvvv commentedI have provided a patch which adding classes by multi class array.
Please review.
Comment #4
cilefen commentedMaybe this is a task.
Comment #5
libbna commentedreviewed patch #2 and classes has been added successfully by multi class array.
Comment #6
gauravvvv commentedComment #10
lauriiiCommitted 17e8a50 and pushed to 10.0.x. Cherry-picked to 9.5.x and 9.4.x. Thanks!