Replace FileUploadHandler::loadByUri() with FileRepositoryInterface::loadByUri()

Created on 22 October 2021, over 2 years ago
Updated 3 March 2024, 3 months ago

Problem/Motivation

Follow-up to #3223209: deprecate file_save_data, file_copy and file_move and replace with a service β†’

There was too many changes with FileUploadHandler before 9.3.0 alpha release, so this change has been added as follow up.

\Drupal\file\Upload\FileUploadHandler::loadByUri() with \Drupal\file\FileRepositoryInterface::loadByUri()

Steps to reproduce

NA

Proposed resolution

TBD

Remaining tasks

NA

User interface changes

NA

API changes

Deprecate FileUploadHandler::loadByUri() and replace all usages inside the class with FileRepositoryInterface::loadByUri()

Data model changes

NA

Release notes snippet

NA

πŸ“Œ Task
Status

Fixed

Version

11.0 πŸ”₯

Component
File moduleΒ  β†’

Last updated 3 days ago

Created by

πŸ‡¦πŸ‡ΊAustralia kim.pepper πŸ„β€β™‚οΈπŸ‡¦πŸ‡ΊSydney, Australia

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

Merge Requests

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.69.0 2024