Problem/Motivation

In #2244513: Move the unmanaged file APIs to the file_system service (file.inc) We are moving file operations out of file.inc and into the file_system, service. However, most of the file operations are low-level and could be replaced by a 3rd-party library such as symfony/filesystem or league/flysystem.

Steps to reproduce

Proposed resolution

Use a 3rd-party library.

Remaining tasks

Decide if this should be done. If so, select a library.

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

Comments

kim.pepper created an issue. See original summary.

berdir’s picture

+1 on the idea, but while we worked on that other issue, I also realized that it won't be easy I think. Some of the methods can likely be moved quite easily but a lot of our low-level methods in FileSystem rely on even lower-level functions/methods related to our stream wrappers.. normalizing them, splitting up and so on.

kim.pepper’s picture

andypost’s picture

Is there reference to meta?

quietone’s picture

Project: Drupal core ideas » Drupal core
Version: » 11.x-dev
Component: Idea » field system
Category: Plan » Feature request
Issue summary: View changes
Issue tags: +Needs framework manager review, +Needs release manager review, +Needs product manager review

The ideas queue is deprecated, moving this back to core.

Version: 11.x-dev » main

Drupal core is now using the main branch as the primary development branch. New developments and disruptive changes should now be targeted to the main branch.

Read more in the announcement.