Prevent loading a library multiple times on PhpFileLibraryType.php

Created on 4 January 2022, about 3 years ago
Updated 22 March 2023, almost 2 years ago

Problem/Motivation

I saw a @todo tag that I though I could help with.

Steps to reproduce

See line 66 in libraries/src/Plugin/libraries/Type/PhpFileLibraryType.php

Proposed resolution

Create a way to check which libraries were already loaded in the code and use this to prevent the code from loading these libraries again.

Remaining tasks

Review patch

📌 Task
Status

Fixed

Version

3.0

Component

Code

Created by

🇧🇷Brazil andregp

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.

Production build 0.71.5 2024