Hot answers tagged


In this case you should edit the template. Changes to markup should be done in templates. Ok thank you. I will extend the twig file. But just to know. How do I add it within my preprocess function? Looking into the standard menu.html.twig there isn't any place left to preprocess content to have it prefixed with some markup for example. There are just ...

Only top voted, non community-wiki answers of a minimum length are eligible