In views-view.html.twig, I'm trying pager['#views_plugin'].current_page, but don't get any value.

enter image description here

  • In fact, after more testing, it seems that the value, for some reason, is not printed by kint(), but it works well in an if statement.
    – Trudog
    Dec 13 '21 at 16:50

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.