Reviewed & tested by the community
Project:
Drupal core
Version:
main
Component:
theme system
Priority:
Normal
Category:
Bug report
Assigned:
Issue tags:
Reporter:
Created:
22 Sep 2026 at 00:37 UTC
Updated:
30 Sep 2026 at 00:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
matthandComment #3
nicxvan commentedGood find!
I think we can clean up both of those in one issue here.
I don't think we need quite that much detail in the IS it amounts to update documentation.
I'm going to close the other issue.
Comment #4
nicxvan commentedComment #5
nicxvan commentedComment #6
sapnil_biswas commentedStarting to work on this!
Comment #8
sapnil_biswas commentedComment #9
nicxvan commentedLooks good to me!
I updated the Issue Summary as well.
This kind of change doesn't need a release note.
I confirmed these were the only two remaining references to the hook, and it is not executed any longer either.
Comment #10
needs-review-queue-bot commentedThe Needs Review Queue Bot tested this issue. It fails the Drupal core commit checks. Therefore, this issue status is now "Needs work".
This does not mean that the patch necessarily needs to be re-rolled or the MR rebased. Read the Issue Summary, the issue tags and the latest discussion here to determine what needs to be done.
Consult the Drupal Contributor Guide to find step-by-step guides for working with issues.
Comment #11
sapnil_biswas commented@nicxvan Just to clarify one thing – the Needs Review Queue Bot changed the issue status to “Needs work” because it failed Drupal core commit checks. You said the changes look good and confirmed that these are the only remaining references to the hook. Does this status need any action from my side or can be ignored/updated accordingly? Thanks!
Comment #12
nicxvan commentedIt might need a rebase, if there are no conflicts with the rebase you should be good to reset it to RTBC yourself.
Comment #13
sapnil_biswas commentedThe latest pipeline failed on ThemeSettingsFormTest, but it's an unrelated random failure since this patch only removes documentation from theme.api.php. Re-setting to RTBC!
Comment #14
needs-review-queue-bot commentedThe Needs Review Queue Bot tested this issue. It fails the Drupal core commit checks. Therefore, this issue status is now "Needs work".
This does not mean that the patch necessarily needs to be re-rolled or the MR rebased. Read the Issue Summary, the issue tags and the latest discussion here to determine what needs to be done.
Consult the Drupal Contributor Guide to find step-by-step guides for working with issues.
Comment #15
sapnil_biswas commented@nicxvan The bot always marks this as needs work. Is there any issue with this or something?
Comment #16
nicxvan commentedI'm not sure why it's kicking it back, I think sometimes doc only changes confuse it.
We can add the no-needs-review-bot tag to stop it from changing status again.
That tag should rarely be used.
Comment #17
matthandI agree with the RTBC here. Nice work @sapnil_biswas! I reviewed the MR as well and it correctly removes the references to dead code. I also noted there was a random test failure on a Theme Settings FuncitonalJavascript test that was unrelated to this change. I filed a followup issue for that flaky test #3626907: Random test failures on ThemeSettingsFormTest::testFormSettingsSubmissionHandler.