Make createFile method public

Created on 6 January 2023, over 2 years ago
Updated 16 January 2023, over 2 years ago

Problem/Motivation

This is not a bug per se, but something to be improved to allow other modules reuse code (for example to create Cloudinary files as part of a migration process)

createFile() method is duplicated in cloudinary_media_library_widget\Plugin\CloudinaryMedia\CloudinaryFile and cloudinary_media_library_widget\Plugin\CloudinaryMedia\CloudinaryImage plugins, and it has protected visibility, so it can't be reused.

Steps to reproduce

Proposed resolution

Move createFile() method to CloudinaryMediaBase class, which is extended by CloudinaryMedia plugins, and make it public.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

RTBC

Version

2.1

Component

Code

Created by

🇦🇷Argentina matiasmiranda Yerba Buena

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.

No activities found.

Production build 0.71.5 2024