I initially reported this in the Core, but it looks like there is a bug in the USWDS theme instead.
After upgrading USWDS from 3.2.1 to 3.2.2 I got all theme hooks registered twice.

Spend some time debugging and found this recent change (ironically I made it) - https://www.drupal.org/project/uswds/issues/3538447
So it introduced a regression, surprisingly it went unnoticed.

Issue fork uswds-3571141

Command icon 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

euk created an issue. See original summary.

euk’s picture

Project: Drupal core » U.S. Web Design System (USWDS)
Version: 11.3.x-dev » 3.2.2
Component: theme system » Code
Issue summary: View changes

euk’s picture

Priority: Normal » Critical
Status: Active » Needs review

  • euk committed 352bffad on 3.x
    #3571141: Fixes a regression in hook discovery
jrglasgow’s picture

Status: Needs review » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.