Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
Few constants and functions are deprecated for 10.0 so its time to get rid of it
Proposed resolution
remove the file and usage, make sure no usage left
Remaining tasks
review/commit
User interface changes
no
API changes
no
Data model changes
No
Release notes snippet
Comment | File | Size | Author |
---|---|---|---|
#7 | 3261265-6.patch | 19.91 KB | andypost |
| |||
#7 | interdiff.txt | 526 bytes | andypost |
#6 | 3261265-5.patch | 19.4 KB | andypost |
#6 | interdiff.txt | 1.37 KB | andypost |
Comments
Comment #2
andypostComment #3
andypostfix CS
Comment #4
longwaveI think this needs something like
adding to
file.mime_type.guesser
service?$guesser can be inlined here probably
Same here
Comment #6
andypostfix inlining but not sure about tagging because there's no
addMimeTypeGuesser()
on\Drupal\Core\File\MimeType\MimeTypeGuesser
(let's wait for tests)Comment #7
andypostYes, that tag is required! Thank you @longwave
Comment #8
longwaveThank you - looks good if bot agrees.
Comment #10
catchNice to get rid of this, I remember it being a pain to add in the first place.
Committed cf89a29 and pushed to 10.0.x. Thanks!