Closed (fixed)
Project:
Drupal core
Version:
9.4.x-dev
Component:
extension system
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
19 Feb 2022 at 10:22 UTC
Updated:
10 Mar 2022 at 10:49 UTC
Jump to comment: Most recent, Most recent file


Comments
Comment #2
quietone commentedComment #3
xjmGood idea!
Comment #4
quietone commentedI used from isObsolete from murilohp's work in #3258782: Do not display obsolete modules at admin/modules.
Comment #6
murilohp commentedI've applied the patch locally and tested it using the following data on my
test.info.yml:The code looks good, the testbot is happy, I've updated the IS with the API changes(isObsolte function) and wrote a release notes snippet.
Once this lands, I can update #3258782: Do not display obsolete modules at admin/modules, since we're using the same new function for both issues, I think we'll need a reroll.
So for me it's RTBC. Thanks!
Comment #7
dwwSlight nit: s/$module/$theme/
Otherwise, this looks great! I love how small and simple the test changes need to be.
Comment #8
dwwStarted a draft CR for both this and #3258782: Do not display obsolete modules at admin/modules.
Comment #9
quietone commented@dww, thanks.
Comment #10
dwwPerfect, thanks!
Comment #13
catchI'm not entirely sure we have a use case for marking a theme obsolete (rather than deprecating and moving to contrib), but it makes sense to support it consistently regardless.
Committed d7a82b5 and pushed to 10.0.x. Also cherry-picked to 9.4.x. Thanks!