[Drupal 9/10] Remove deprecated reference to RouteEnhancerInterface

Created on 29 October 2020, almost 4 years ago
Updated 21 March 2024, 6 months ago

Problem/Motivation

References to \Drupal\Core\Routing\Enhancer\RouteEnhancerInterface need updated to \Drupal\Core\Routing\EnhancerInterface to be Drupal 9 compatible.

\Drupal\Core\Routing\Enhancer\RouteEnhancerInterface is deprecated in Drupal 8.5.0 and will be removed before Drupal 9.0.0. Instead, you should use \Drupal\Core\Routing\EnhancerInterface. See https://www.drupal.org/node/2894934 β†’

Currently, src/Routing/VariantRouteFilter.php contains a reference to \Drupal\Core\Routing\Enhancer\RouteEnhancerInterface.

Proposed resolution

I will provide a patch to update the reference.

πŸ“Œ Task
Status

Fixed

Version

4.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States bdlangton

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024