New answers tagged

0

As per change record pager_default_initialize() has been deprecated and new pager.manager service is created. $current_page = \Drupal::service('pager.manager')->createPager($total_count, $results_in_page)->getCurrentPage(); Sample Code using new pager service. <?php namespace Drupal\controller_examples\Controller; use Drupal\Core\Controller\...


0

It's because of your templates files. Due to the default classes. Please check with views related files (views-view tpl files) or pager related twig files (pager.html.twig) For Example: inline js-pager__items <ul class="pagination inline js-pager__items"> {# Print previous item if we are not on the first page. #} {% if ...


0

I guess I answered my own question, when I clicked the left side Use pager:Display a specified number of items it let me select if I want to override for just that display.


Top 50 recent answers are included