Answer the question
In order to leave comments, you need to log in
How to add class to menu link in Drupal8?
I created my theme in Drupal 8, inheriting the Stabil theme. Now I want to add classes to the navigation. I look at the links.html.twig file, and I see . What does item.attributes mean, what should I do to get the class I need in this variable?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question