How to use field value to set custom class and apply it to a html element in node.html.twig witho...
How to use field value to set custom class and apply it to a html element in node.html.twig without using attributes and addClass()
I hope you found a solution that worked for you :)
The Content (except music & images) is licensed under (https://meta.stackexchange.com/help/licensing)CC BY-SA |
Thanks to all those great people for their contributions!
(drupal.stackexchange.com/users/94131/vitaliy-k)Vitaliy K |
(drupal.stackexchange.com/users/15055/leymannx)leymannx |
(drupal.stackexchange.com/users/94131/vitaliy-k)Vitaliy K |
A special thanks goes out to the (https://drupal.stackexchange.com/questions/313476/how-to-use-field-value-to-set-custom-class-and-apply-it-to-a-html-element-in-nod)Stackexchange community |
I wish you all a wonderful day! Stay safe :)
theming 9