Utilize path alias entity instead of query

Created on 27 January 2020, almost 5 years ago
Updated 7 March 2023, over 1 year ago

Hi.
At Drupal 8.8 path_alias became an entity.
This mean, that we have to refactor code at your contrib module that work's with path_alias.

This code have to be rewritten to entity search approach:
https://git.drupalcode.org/project/optimizely/blob/8.x-3.x/src/Util/Path...

Possible way of searching items:

\Drupal::entityTypeManager()->getStorage('path_alias')->loadByProperties(array $values)
πŸ“Œ Task
Status

Fixed

Version

4.0

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine anpolimus Kyiv

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