Problem/Motivation

Now the module works well on Drupal 10, but fails on Drupal 9.
It's because the Logger interface in Drupal 10 and 9 are incompatible.

Will be good to invent some workaround to make the module works well for both Drupal versions simultaneously.

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

Murz created an issue. See original summary.

  • Murz committed 3fc179cb on 1.0.x
    Issue #3351570 by Murz: Make module compatible with Drupal 9 and 10...
murz’s picture

Status: Active » Fixed

I've invented a way via moving the problematic function to two independent traits, and manually require the right one, depending in the Drupal version. More detailed explanation is here.

Also, it is possible now to even make the module compatible with PHP 7.4, if someone needs this - please create a separate feature request.

murz’s picture

Status: Fixed » Closed (fixed)