Path Alias Manager Deprecated in D9

Created on 4 January 2022, almost 3 years ago
Updated 7 July 2023, over 1 year ago

Problem/Motivation

In D9 path.alias_manager is deprecated (use path_alias.manager)

Steps to reproduce

Install these module in D9 and tried to create feeds in view throws error.

Proposed resolution

We need to chage the following
\Drupal::service('path.alias_manager')->getAliasByPath('/node/' . $entity->id()) (at line number 84 modules/contrib/cloudfront_path_invalidate/cloudfront_path_invalidate.module)
to
\Drupal::service('path_alias.manager')->getAliasByPath('/node/' . $entity->id())

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

RTBC

Version

1.8

Component

Code

Created by

🇮🇳India PrabuEla chennai

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