Currently, the module is calling the function pager_default_initialize() which was deprecated in Drupal 8.8. Once Drupal 8.8 is no longer supported, we should replace this by using the pager.parameters service.

Once we're fixing this, we can also replace the pager handling, since currently we are retrieving the pager directly from the request object. Let's replace this with PagerParameters::findPage().

Also core_version_requirement should be added to make the module installable on Drupal 9.

CommentFileSizeAuthor
#5 3095596-5.patch3.87 KBjeroent

Comments

JeroenT created an issue. See original summary.

jeroent’s picture

Status: Active » Postponed

Setting postponed until Drupal 8.8 is no longer supported, or we decide to only support this module for Drupal 8.8 or higher.

jeroent’s picture

Version: 8.x-1.0-alpha2 » 8.x-1.x-dev
jeroent’s picture

Title: Remove usage of deprecated code » Drupal 9 compatability
Issue summary: View changes
jeroent’s picture

Status: Postponed » Needs review
StatusFileSize
new3.87 KB
jeroent’s picture

Status: Needs review » Fixed

  • JeroenT committed d0b1274 on 8.x-1.x
    Issue #3095596 by JeroenT: Drupal 9 compatability
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.