Closed (fixed)
Project:
Drupal core
Version:
11.x-dev
Component:
file.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
28 Dec 2023 at 23:08 UTC
Updated:
3 Mar 2024 at 13:19 UTC
Jump to comment: Most recent
Comments
Comment #3
kim.pepperComment #4
smustgrave commentedApplied the MR and searched for file_icon_class + file_icon_class and only one instance of each which was deprecated.
Tests are added to show deprecation, https://git.drupalcode.org/issue/drupal-3411266/-/jobs/544804
LGTM
Comment #6
quietone commentedI moved the
cspell:ignoreline. It should be before the class declaration and after any use statements. I used the Web IDE an had the pleasure of making the change twice. :-)Leaving at RTBC.
Comment #7
longwaveWondered if it was worth making this extensible or swappable but I searched the issue queue and found no issues discussing either of these, so I think this is fine just to move to a static utility class, especially given each method only has exactly one usage in core.
Committed c936bda and pushed to 11.x. Thanks!