Problem/Motivation

There is a new change, introduced on 8.x-1.x-dev version that is breaking installations using Drupal 9.2.

The issue is happening at the following line:

https://git.drupalcode.org/project/eu-cookie-compliance/-/blob/8.x-1.x/s...

Steps to reproduce

Just try to save the settings form.

Proposed resolution

Change the if to \Drupal::VERSION < 9.3, since this is the core version that the service was introduced.

Remaining tasks

N/A

User interface changes

N/A

API changes

N/A

Data model changes

N/A

Comments

tbsiqueira created an issue. See original summary.

tbsiqueira’s picture

StatusFileSize
new749 bytes
svenryen’s picture

Thanks @tbsiqueira for catching this.

navneet0693’s picture

Status: Active » Reviewed & tested by the community

  • svenryen committed d86df8d on 8.x-1.x
    Issue #3307126 by tbsiqueira, svenryen: Breaking change for Drupal 9.2...
svenryen’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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