Fixed
Project:
Drupal core
Version:
12.0.x-dev
Component:
navigation.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
30 Sep 2026 at 14:49 UTC
Updated:
3 Oct 2026 at 05:23 UTC
Jump to comment: Most recent
Navigation Top Bar was merged into Navigation in 11.3.
An update hook in 11.3 should have uninstalled any remaining usage of this module.
We should be able to cleanly delete this module from Drupal 12.
Delete core/modules/navigation/modules/navigation_top_bar.
Check that the update hook landed in 11.3 and so upgrades to 12 are safe.
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 #4
shank115 commentedOpened an MR that removes core/modules/navigation/modules/navigation_top_bar (only the obsolete .info.yml was left).
Checked the remaining tasks:
navigation_post_update_uninstall_navigation_top_bar()was added for 11.3 and uninstalls the module. On main it's already listed innavigation_removed_post_updates()as 12.0.0.Comment #5
dcam commentedBoth the submodule and the post-update function that uninstalls it are in the 11.2.x branch.
There isn't much to review in the MR. All submodule files are deleted. In fact, the entire
core/modules/navigation/modulesdirectory is now gone because that info file was the only thing in it.I grepped Core for any lingering mentions of the submodule's name, 'navigation_top_bar'. The only one left is the removed post-update function name.
Comment #7
catchCommitted/pushed to main, thanks!
Comment #9
longwaveCan be cherry picked to 12.0.x too!
Comment #10
xjmComment #12
catchDid the cherry-pick.
I don't think this needs to go into the release notes because it was only possible for this module to be uninstalled since approximately 11.2, so there should be nothing for site owners to respond to. Added a change record though since I couldn't immediately find the one where we made it obsolete in the first place. It never had any code in it, was always a .info.yml only feature flag module.