Refactor FileUploadResource to use FileUploadHandler

Created on 15 November 2023, about 1 year ago
Updated 27 May 2024, 7 months ago

Problem/Motivation

As part of ๐Ÿ“Œ [PP-4] Unify file upload logic of REST and JSON:API Postponed we want to refactor common code. As a smaller step to that goal, we can refactor \Drupal\file\Plugin\rest\resource\FileUploadResource to use the existing \Drupal\file\Upload\FileUploadHandler::handleFileUpload() and thereby reduce the size of the larger refactoring.

Steps to reproduce

Proposed resolution

Refactor FileUploadResource to use FileUploadHandler

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

๐Ÿ“Œ Task
Status

Fixed

Version

10.3 โœจ

Component
File moduleย  โ†’

Last updated 2 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.71.5 2024