Closed (fixed)
Project:
Drupal core
Version:
main
Component:
base system
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
23 Feb 2026 at 17:24 UTC
Updated:
12 Mar 2026 at 09:50 UTC
Jump to comment: Most recent
Going to wait for #3575201: Simple deprecation removal from modules part 1 first
These are a little more detailed then part 1 but modules include
> block
> ckeditor5
> field_ui
> page_cache
> language
> content_translation
> filter
> locale
> link
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
smustgrave commentedComment #4
smustgrave commentedFyi does not include any migration or update_hook related code.
Comment #5
smustgrave commentedPart 1 landed
Comment #6
smustgrave commentedStill a few more but MR is pushing the limit so I'll open a final part3 to get any left overs. May hold until after migrations are removed.
Comment #7
smustgrave commentedComment #8
dcam commentedI left a couple of comments on the MR, but I found several other things from untouched files.
There are lingering references to
field_ui.modulein a few different list builder classes. These references only mention the file name, but were implicitly referring to the deletedfield_ui_entity_operation_alter()function. That function was moved toFieldUiHooks::entityOperation(). I suggest that the reference should be updated to the new class AND function. See the following files:There is a test module,
ckeditor5_icon_deprecation_test, that was added for the purpose of testingCKEditor5PluginManagerTest::testDeprecatedIcons(), which we're deleting. There are no other uses. The test module should be deleted.There is a test module,
field_ui_test_deprecated, that is not installed by any test. It may no longer be used. I would include it in the scope of this issue. Also, if I'm right about it not being used then that's kind of sad because maintenance has continued to be performed on this dead code. It underwent the OOP hook conversion in 2024. This drives home the comment I made in Slack about dead test module code. This would mean there's a real cost to it.FilterThemeHooks::preprocessFilterTips()is deprecated for removal in D12. See https://git.drupalcode.org/project/drupal/-/blob/main/core/modules/filte....Comment #9
smustgrave commentedI had to ask about preprocessFilterTips() but does seem it's meant to go, the CR didn't really mention it. Nice find with the deprecated modules.
Comment #10
smustgrave commentedI believe we are down to 3-4 modules left but this MR size is at the border before it's a pain for reviewers
Comment #11
dcam commentedThere are a couple of docblock typos to fix. Then this one will be ready.
Comment #12
smustgrave commentedApplied the suggestions to the MR directly.
Comment #13
dcam commentedAll feedback has been addressed. This looks good to me.
Comment #15
catchfwiw scope was about right here - it's all straightforward removals of code so easy to review in one go. I'm not worrying too much about whether we missed anything because we always end up doing a final sweep anyway.
@dcam's comments about the zombie test modules are interesting. #3502432: Make hook testing with kernel tests very simple would let us get rid of quite a lot of test modules. But also I wonder if we can write a script that collects every test module name, and then checks if they're referenced in any tests or something like that?
Committed/pushed to main, thanks!