Prevent loading a library multiple times on PhpFileLibraryType.php

Created on 4 January 2022, over 2 years ago
Updated 22 March 2023, over 1 year 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.69.0 2024