Problem/Motivation
Coming from #3566536: [meta] eliminate core .module files
Proposed resolution
Core uses this function only once on the theme layer. Move its logic in FilterThemeHooks as protected method and deprecated it.
Remaining tasks
None.
User interface changes
None.
Introduced terminology
None.
API changes
None.
Data model changes
None.
Issue fork drupal-3580662
Show commands
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!