Closed (fixed)
Project:
File Entity Browser
Version:
2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Dec 2023 at 12:39 UTC
Updated:
28 Oct 2025 at 14:19 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
jofitzAdd an SVG icon
Comment #3
cchiste commentedWorks well on Drupal 11.1
Comment #4
d.fisher commentedChanging the target version and creating a branch to test.
Comment #6
d.fisher commentedThank you for this. I've wrapped this into a branch with a merge request attached.
Forgive my ignorance but how to we use the SVG version by default? And if we write an update hook to switch from the PNG to the SVG where does the module need switching? Definitely sounds sensible but not 100% sure I understand where this needs implementing?
Comment #7
d.fisher commentedBe good to get this one sorted!
I just need clarity around these two items from OP (jofitz):
(optional) Use the SVG version by default
(optional) Write an update hook to switch from the PNG to the SVG
Is there a specific way to use the SVG by default and what parts of the module should the update hook be targeting?
Comment #8
jofitzI'm sorry @d.fisher, it has been so long that I can't remember
Comment #9
d.fisher commentedOkay I think I might have it!
Comment #10
d.fisher commentedJeepers. I think that's it. Can you test?
Comment #11
d.fisher commentedHere's the url for composer patches:
https://git.drupalcode.org/project/file_browser/-/merge_requests/7.patch
Comment #12
d.fisher commentedAnyone want to test this for me? If not it's working for me and I'll just merge it!
Comment #13
d.fisher commentedGuess we'll rock and roll with this as is.
Comment #15
d.fisher commented