There are a few occurrences in the code that needs patched before this module supports Drupal 10.

We're already using ^8.9 || ^9 which means all our used Drupal classes should be found in 8.9, the lowest version that we support, if they are present in 9.x.

Here's a current list found through the "Inspect code"functionality in PHP Storm:

  • file_save_data() is replaced with \Drupal::service('file.repository')->writeData()
  • module_load_include is replaced with \Drupal::moduleHandler()->loadInclude()
  • There were also two references to non-existent classes in the comments: Twig_Environment and MimeTypeGuesserInterface
  • We need to bump the version requirement to ^8.9 || ^9 || ^10
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

svenryen created an issue. See original summary.

  • svenryen committed 0b479d1 on 8.x-1.x
    Issue #3274473 by svenryen: Drupal 10 compatibility
    
svenryen’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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