Avoid using libraries_get_path() deprecated function

Created on 25 January 2023, almost 2 years ago

I'm facing an issue in which the path of dropzone.min.js is not being added correctly. Check the attached screenshot. When checking the module I noticed the function libraries_get_path() being used and I believe this is the cause of the issue.

Problem/Motivation

Whenever I try to upload files with the entity browser, the path to include the file dropzone.min.js is incorrect (check the attached image).

Proposed resolution

Update dropzonejs_library_info_alter() to avoid using libraries_get_path().

Remaining tasks

Update dropzonejs_library_info_alter() to avoid using libraries_get_path().

User interface changes

None.

API changes

None.

Data model changes

None.

🐛 Bug report
Status

Closed: works as designed

Version

2.7

Component

Code

Created by

🇧🇷Brazil mauriciopieper

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

Comments & Activities

Production build 0.71.5 2024