Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I want to add a class to input field for search block. When i check the file name suggestions to the input field using twig debug,i get two suggestion with same filename input--search.html.twig
<!-- FILE NAME SUGGESTIONS:
* input--search.html.twig
x input--form-control.html.twig
* input--search.html.twig
* input.html.twig
-->
Shouldn't the first file suggestion have id or something added to it?
Comment | File | Size | Author |
---|---|---|---|
#2 | screen_2016-06-08_17-12-09.png | 15.21 KB | jorgediazhav |
Comments
Comment #2
jorgediazhav CreditAttribution: jorgediazhav at Evolving Web commentedHey zuhair_ak! Please ensure you can reproduce it with the "-dev".
I cannot reproduce it :(