Closed (fixed)
Project:
Drupal core
Version:
11.x-dev
Component:
filter.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
21 Mar 2026 at 13:39 UTC
Updated:
7 Apr 2026 at 12:50 UTC
Jump to comment: Most recent
Coming from #3566536: [meta] eliminate core .module files
Core uses this function only once on the theme layer. Move its logic in FilterThemeHooks as protected method and deprecated it.
None.
None.
None.
None.
None.
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
claudiu.cristeaComment #3
claudiu.cristeaAdded CR, fixed parent issue.
Comment #4
claudiu.cristeaComment #6
claudiu.cristeaReady for review
Comment #7
nicxvan commentedThis is actually a super easy one, we don't delete the content of the function since the replacement is protected.
I think that makes sense.
The deprecation messages are the correct version and consistent.
Comment #8
catchCommitted/pushed to main and cherry-picked to main, thanks!
Will need a backport MR.
Comment #12
claudiu.cristeaI've created https://git.drupalcode.org/project/drupal/-/merge_requests/15187 for Drupal 11.x
Comment #13
nicxvan commentedI compared them, the reason it didn't apply was due to another deprecation that hadn't been removed yet in 11.x for the parameter.
Otherwise it is identical.
Comment #16
catchCommitted/pushed to 11.x, thanks!