1

I have been trying to add class for anchor tag, but I could not find the right way to achieve this.

I want to add class for particular pager in view. There is no pager.html.twig for particular id.

I have already enabled the twig debug in services.yml . Its not showing any suggestion

Can I try in preprocess_pager() ?

Please some one help me to achieve this !

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.